On Wednesday 2014-11-12 16:21, Johannes Meixner wrote:
are bashisms in RPM scriptlets allowed?
If you do use them, be sure to use %post -p /bin/bash
In particular neither
where comments therein seem to indicate that bash is o.k. for
shell scripts but to be on the safe side one should explicitly
require it via "#!/bin/bash" shebang but as far as I know
I cannot have a bash shebang in RPM scriptlets.
That is because the shebang at the start of %post is not necessarily
the first line in /var/tmp/rpm-xxxxxxx.xxxx. Hence -p.
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org