On Sun, 17 Jun 2018 10:10:21 +0000, nadavr wrote: > dh_install tries to run files listed in my ".install" file instead > of adding them when the ".install" file has executable permissions. > This also results in errors when listed files prompt errors in the > default shell interperter (why wouldn't they?). > Once the executable bit is gone, everything works fine. > I don't see any reason for this to happen, and no documentation.
It's on purpose, and it's documented in debhelper(7): DEBHELPER CONFIG FILES Many debhelper commands make use of files in debian/ to control what they do. Besides the common debian/changelog and debian/control, which are in all packages, not just those using debhelper, some additional files can be used to configure the behavior of specific debhelper commands. These files are typically named debian/package.foo (where package of course, is replaced with the package that is being acted on). … The syntax of these files is intentionally kept very simple to make them easy to read, understand, and modify. If you prefer power and complexity, you can make the file executable, and write a program that outputs whatever content is appropriate for a given situation. When you do so, the output is not further processed to expand wildcards or strip comments. Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- NP: Las Primas: Bombon Chocolata
signature.asc
Description: Digital Signature