dash: always create /bin/sh symlink.

--HG--
extra : convert_revision : 7aa954a0d7bd810a44556af879e0b333671f41a2
This commit is contained in:
Juan RP 2009-12-19 05:00:12 +01:00
parent 7d28725788
commit ed5a7e5a1c
2 changed files with 6 additions and 13 deletions

View file

@ -1,12 +0,0 @@
#
# This script creates the /bin/sh symlink to /bin/dash.
#
case "${ACTION}" in
pre)
;;
post)
echo "Creating /bin/sh symlink..."
cd ./bin && ./ln -sf dash sh
;;
esac

View file

@ -1,7 +1,7 @@
# Template file for 'dash'
pkgname=dash
version=0.5.5.1
revision=3
revision=4
distfiles="http://gondor.apana.org.au/~herbert/dash/files/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--prefix="
@ -22,3 +22,8 @@ register_shell="/bin/sh"
Add_dependency full glibc
Add_dependency full coreutils
Add_dependency build bison
post_install()
{
cd ${DESTDIR}/bin && ln -s dash sh
}