From a9ea99db757afc90d294e43e51f963d726ebe011 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 10 Jul 2012 10:25:25 +0200 Subject: [PATCH] dash: create /bin/sh and /usr/bin/sh symlinks at post-install time. --- srcpkgs/dash/INSTALL | 4 +++- srcpkgs/dash/template | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/dash/INSTALL b/srcpkgs/dash/INSTALL index 2e9ffbff88..0bec70e925 100644 --- a/srcpkgs/dash/INSTALL +++ b/srcpkgs/dash/INSTALL @@ -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 diff --git a/srcpkgs/dash/template b/srcpkgs/dash/template index a4172a9f89..37ad7b7a7c 100644 --- a/srcpkgs/dash/template +++ b/srcpkgs/dash/template @@ -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"