reassign 521960 debhelper retitle 521960 debhelper: dh_desktop fails if PATH contains relative path thanks Coin, Quoting "Russ Allbery" <rra@debian.org>:
Could you check your generated postinst and be sure that the call is actually in there?
You're right, the postinst does not contain the needed call.I found dh_desktop does not sanitize the PATH variable, thus resulting to the following error due to '~/bin' being in my path when building the package: find: The relative path `~/bin' is included in the PATH environment variable, which is insecure in combination with the -execdir action of find. Please remove that entry from $PATH
I think a DD shoud be able to work with its custom scripts in ~/bin or anywhere else, and debhelper scripts should sanitize their environment.
Thanks for your help, Russ. -- Marc Dequènes (Duck)
Attachment:
pgpiGeMWD7Tdw.pgp
Description: PGP Digital Signature