dash: always create /bin/sh symlink.
--HG-- extra : convert_revision : 7aa954a0d7bd810a44556af879e0b333671f41a2
This commit is contained in:
parent
7d28725788
commit
ed5a7e5a1c
@ -1,12 +0,0 @@
|
|||||||
#
|
|
||||||
# This script creates the /bin/sh symlink to /bin/dash.
|
|
||||||
#
|
|
||||||
|
|
||||||
case "${ACTION}" in
|
|
||||||
pre)
|
|
||||||
;;
|
|
||||||
post)
|
|
||||||
echo "Creating /bin/sh symlink..."
|
|
||||||
cd ./bin && ./ln -sf dash sh
|
|
||||||
;;
|
|
||||||
esac
|
|
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'dash'
|
# Template file for 'dash'
|
||||||
pkgname=dash
|
pkgname=dash
|
||||||
version=0.5.5.1
|
version=0.5.5.1
|
||||||
revision=3
|
revision=4
|
||||||
distfiles="http://gondor.apana.org.au/~herbert/dash/files/$pkgname-$version.tar.gz"
|
distfiles="http://gondor.apana.org.au/~herbert/dash/files/$pkgname-$version.tar.gz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--prefix="
|
configure_args="--prefix="
|
||||||
@ -22,3 +22,8 @@ register_shell="/bin/sh"
|
|||||||
Add_dependency full glibc
|
Add_dependency full glibc
|
||||||
Add_dependency full coreutils
|
Add_dependency full coreutils
|
||||||
Add_dependency build bison
|
Add_dependency build bison
|
||||||
|
|
||||||
|
post_install()
|
||||||
|
{
|
||||||
|
cd ${DESTDIR}/bin && ln -s dash sh
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user