SynoCommunity/spksrc — Issue #21: Create a rule to fix paths for python scripts
Author: Diaoul
Created: 2011-11-14 10:54:22+00:00
State: open
Labels: cross

For example, when installing python module pip, the shebang is `#!$(HOSTPYTHON)`.
We need to replace all created scripts with `#!/usr/bin/env python`

This could be done with sed each time a module is installed: check for PLIST and do the appropriate action for the `bin`

I'll look into this solution.