14 Mar
2019
14 Mar
'19
06:17
On Thu, Mar 14, 2019 at 12:01:16AM +0100, Jan Engelhardt wrote:
On Wednesday 2019-03-13 09:50, Andreas Schwab wrote:
On Mär 13 2019, Stefan Seyfried <stefan.seyfried@googlemail.com> wrote:
but %{pre,post,preun,postun,...} are executed with the help of a shell
Not necessarily. They can also be implemented in embedded lua.
And we could also just (maybe) write
%pre -p /usr/sbin/update-alternatives --install ...
Exciting how rpm works.
It should be mentioned that with e.g. %post -p <lua> the os.execute() and io.popen() lua API do use /bin/sh just like (g)libc system(3), that is ther is no os.execve() :P Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr