On 10/28/2017 03:49 AM, Chris Adams wrote:
Once upon a time, Adam Williamson <adamwill(a)fedoraproject.org>
said:
> FWIW, ISTR being told at some point that it's a good idea to write
> scriptlets in lua because RPM should *always* be able to run lua
> scriptlets, whereas at least in theory a scriptlet written in shell
> script could be hit before /bin/sh is installed and thus fail to
> run...
I don't think that's true - I think an RPM with a /bin/sh scriptlet will
get a dependency on /bin/sh, so it shouldn't be installed before
/bin/sh.
That's not true in general if your package is in turn a dependency of
whatever provides /bin/sh. That affects a dozen or so packages in
Fedora, according to a quick check.
Thanks,
Florian