Package: debhelper
Version: 12.9
Severity: wishlist

Hi,

I'm maintaining pkg-js-tools which provides a nodejs-module
auto-installer. I'd like to automatically `chmod +x` files declared as
"bin" in package.json.
 * I don't want to automatically install them to /usr/bin because:
   * `require` command is related to current directory, then nodejs
     binaries must be installed in nodejs dirs and linked to /usr/bin
   * I don't want to automatically link them all to /usr/bin since this
     will change packages during rebuild and can create conflicts (same
     binary names)
 * I don't want to "remove_command" dh_fixperms since it is not safe
 * I don't want to "insert_after" dh_fixperms since it will be launched
   even if maintainer sets a "overrides_dh_fixperms'

For now, maintainers are using "override_dh_fixperms" but I think we can
use more automatisation. Is it possible to write a dh_auto_fixperms
target or giving values using environment variables ?

Cheers,
Xavier

NB: sorry for my poor English, tell me if my query is not clear ;-)

Reply via email to