From a27900dccc79f92e95a72b6447b64a41452a44c5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 9 Jul 2012 17:19:34 +0200 Subject: [PATCH] dash: switch to /usr. --- srcpkgs/dash/INSTALL | 2 +- srcpkgs/dash/template | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/srcpkgs/dash/INSTALL b/srcpkgs/dash/INSTALL index 14391b14286..2e9ffbff88c 100644 --- a/srcpkgs/dash/INSTALL +++ b/srcpkgs/dash/INSTALL @@ -2,6 +2,6 @@ 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 + [ ! -h usr/bin/sh ] && cd usr/bin && ln -sf dash sh ;; esac diff --git a/srcpkgs/dash/template b/srcpkgs/dash/template index eff46f59774..a4172a9f894 100644 --- a/srcpkgs/dash/template +++ b/srcpkgs/dash/template @@ -1,16 +1,16 @@ # Template file for 'dash' pkgname=dash version=0.5.7 -distfiles="http://gondor.apana.org.au/~herbert/dash/files/$pkgname-$version.tar.gz" +revision=2 build_style=gnu-configure -configure_args="--exec-prefix= LANG=C" -revision=1 +register_shell="/bin/sh" depends="coreutils" makedepends="bison" short_desc="POSIX-compliant Unix shell, much smaller than GNU bash" maintainer="Juan RP " homepage="http://gondor.apana.org.au/~herbert/dash/" license="BSD" +distfiles="http://gondor.apana.org.au/~herbert/dash/files/$pkgname-$version.tar.gz" checksum=ae89fa9f1145b7748cf0740e1df04cd52fdf8a285da4911dd0f04983efba4e39 long_desc=" Debian Almquist shell (dash) is a POSIX-compliant Unix shell, much smaller @@ -19,5 +19,3 @@ long_desc=" Dash is a direct descendant of the NetBSD version of the Almquist Shell (ash). It was ported to Linux by Herbert Xu in early 1997. It was renamed to dash in 2002." - -register_shell="/bin/sh"