Allow specifying shell for running scriptlets
commit3ba5391839b34823e97574cba2952d732c2729e0
authorAllan McRae <allan@archlinux.org>
Fri, 10 Feb 2012 06:26:37 +0000 (10 16:26 +1000)
committerDan McGee <dan@archlinux.org>
Mon, 13 Feb 2012 16:02:35 +0000 (13 10:02 -0600)
tree8436d07670395e27076da8d29201ea48450ab221
parent20a16f55b32da071d362c2fa3faf1f55285d13a9
Allow specifying shell for running scriptlets

Some distributions insist on using bash specific commands in their
install scripts under the assumption that "sh" is a symlink to bash.
This can causes issues if (e.g.) their users what to change sh to
point at another shell, such as dash, that does not support these
features. Add a configure option to explicitly set the shell being
used to run install scripts.

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
configure.ac
lib/libalpm/trans.c