From 17185fb761364a2f3b96f7cc72e5c58ee6df2cbf Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 24 Oct 2008 02:03:11 +0200 Subject: [PATCH] bash: make /bin/sh symlink after install. --HG-- extra : convert_revision : 73f6a4f20ed25500a11cd94ed532cbf395c582ed --- templates/bash-runstuff-after-install.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 templates/bash-runstuff-after-install.sh diff --git a/templates/bash-runstuff-after-install.sh b/templates/bash-runstuff-after-install.sh new file mode 100644 index 00000000000..c31b3396f48 --- /dev/null +++ b/templates/bash-runstuff-after-install.sh @@ -0,0 +1,7 @@ +# +# Make /bin/bash -> /bin/sh symlink. +# + +if [ -x $XBPS_DESTDIR/$pkgname-$version/bin/bash ]; then + cd $XBPS_DESTDIR/$pkgname-$version/bin && ln -s bash sh +fi