dash: unconditionally provide sh symlink (avoids install script).
This commit is contained in:
parent
6804e0b9cf
commit
940de68332
|
@ -1,6 +0,0 @@
|
|||
case ${ACTION} in
|
||||
pre)
|
||||
# Create /usr/bin/sh symlink to dash.
|
||||
cd usr/bin && ln -sf dash sh
|
||||
;;
|
||||
esac
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue