dash: create /bin/sh and /usr/bin/sh symlinks at post-install time.
This commit is contained in:
parent
d566c562a7
commit
a9ea99db75
|
@ -1,7 +1,9 @@
|
|||
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.
|
||||
[ ! -h usr/bin/sh ] && cd usr/bin && ln -sf dash sh
|
||||
cd usr/bin && ln -sf dash sh && ln -sf dash ../../bin/sh
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'dash'
|
||||
pkgname=dash
|
||||
version=0.5.7
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
register_shell="/bin/sh"
|
||||
depends="coreutils"
|
||||
|
|
Loading…
Reference in New Issue