I build a package from my own source using dh_make and dpkg-buildpackage. The install-file in /debian specifies the destinations for the project files. To make the installed program work, they need to be executable / have execution permissions with chmod. In particular it is about a python script and a .desktop-file.
How do I set those permissions in setup? By only copying them to their destinations it is not done. It would be ok for me if I could trigger a command at the end of setup, or something like this, but don't know how to include this.
dh_fixperms
first, the achmod a+x path/to/pythonscript.py
? — because that way dh_fixperms does everything right as per debian and then you fix a few more things your way. Correct? – Alexis Wilke Dec 21 '15 at 11:47