diff --git a/srcpkgs/dash/INSTALL b/srcpkgs/dash/INSTALL new file mode 100644 index 00000000000..14391b14286 --- /dev/null +++ b/srcpkgs/dash/INSTALL @@ -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 diff --git a/srcpkgs/dash/template b/srcpkgs/dash/template index c6bc320d4a7..b0b9ec3c45d 100644 --- a/srcpkgs/dash/template +++ b/srcpkgs/dash/template @@ -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 -}