dash: create /bin/sh symlink at pre INSTALL, iff doesn't exist.
This commit is contained in:
parent
44f85a8a7f
commit
98edb5e389
|
@ -0,0 +1,7 @@
|
|||
case ${ACTION} in
|
||||
pre)
|
||||
# It's expected that will make a dangling symlink, but once that
|
||||
# dash is unpacked it will be ok.
|
||||
[ ! -h bin/sh ] && cd bin && ln -sf dash sh
|
||||
;;
|
||||
esac
|
|
@ -1,6 +1,7 @@
|
|||
# Template file for 'dash'
|
||||
pkgname=dash
|
||||
version=0.5.6.1
|
||||
revision=1
|
||||
distfiles="http://gondor.apana.org.au/~herbert/dash/files/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--prefix="
|
||||
|
@ -21,8 +22,3 @@ Add_dependency run glibc
|
|||
Add_dependency run coreutils
|
||||
Add_dependency build bison
|
||||
Add_dependency build coreutils
|
||||
|
||||
post_install()
|
||||
{
|
||||
cd ${DESTDIR}/bin && ln -s dash sh
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue