82cb443089
The blank line causes execve() to fail:
# strace ./postinst
execve("./postinst", ...) = -1 ENOEXEC (Exec format error)
strace: exec: Exec format error
+++ exited with 1 +++
However running the scripts via shell does work (at least with bash)
because the shell attempts to execute the file as a shell script when
execve() fails.
Fixes:
|
||
---|---|---|
.. | ||
debian | ||
builddeb | ||
buildtar | ||
gen-diff-patch | ||
install-extmod-build | ||
kernel.spec | ||
mkdebian | ||
mkspec | ||
PKGBUILD | ||
snapcraft.template |