void-packages/templates/bash.post_install
Juan RP c06defc719 Replace run_stuff with post/pre_<stage> variables.
If there's a file called "$pkgname.{pre,post}_{configure,build,install}
it will be automatically executed. In addition to this, templates may
use {pre,post}_{configure,build,install}_cmd variables to run arbitrary
commands.

--HG--
extra : convert_revision : 62ad549b8299689ecf8c833e73eda436ffdb7aa7
2008-10-27 03:56:42 +01:00

7 lines
159 B
Text

#
# 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