dash: only create sh symlink in /usr/bin.

This commit is contained in:
Juan RP 2012-08-28 09:19:10 +02:00
parent 2923d109a9
commit f30382b084
2 changed files with 3 additions and 6 deletions

View File

@ -1,9 +1,6 @@
case ${ACTION} in
pre)
# Create /bin/sh and /usr/bin/sh symlinks to /usr/bin/dash.
#
# It's expected that will make a dangling symlink, but once that
# dash is unpacked it will be ok.
cd usr/bin && ln -sf dash sh && ln -sf dash ../../bin/sh
# 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=3
revision=4
build_style=gnu-configure
register_shell="/bin/sh"
depends="coreutils"