dash: unconditionally provide sh symlink (avoids install script).

This commit is contained in:
Juan RP 2013-03-07 18:02:14 +01:00
parent 6804e0b9cf
commit 940de68332
2 changed files with 5 additions and 7 deletions

View File

@ -1,6 +0,0 @@
case ${ACTION} in
pre)
# Create /usr/bin/sh symlink to dash.
cd usr/bin && ln -sf dash sh
;;
esac

View File

@ -1,7 +1,7 @@
# Template file for 'dash'
pkgname=dash
version=0.5.7
revision=5
revision=6
build_style=gnu-configure
register_shell="/bin/sh"
depends="coreutils"
@ -12,3 +12,7 @@ homepage="http://gondor.apana.org.au/~herbert/dash/"
license="BSD"
distfiles="http://gondor.apana.org.au/~herbert/dash/files/$pkgname-$version.tar.gz"
checksum=ae89fa9f1145b7748cf0740e1df04cd52fdf8a285da4911dd0f04983efba4e39
post_install() {
ln -sfr ${DESTDIR}/usr/bin/dash ${DESTDIR}/usr/bin/sh
}