dash: only create sh symlink in /usr/bin.
This commit is contained in:
parent
2923d109a9
commit
f30382b084
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue