diff options
author | root <root@rshg054.dnsready.net> | 2011-08-16 23:14:31 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-16 23:14:31 +0000 |
commit | 68b7938bb87c6e91d54e4f35f0223c7237fa53e1 (patch) | |
tree | c958be233dadd94e64aee91d88f18f1638817b6f /core/dash | |
parent | 3abfc1ebef5936241997dd882938581c91743ee9 (diff) |
Tue Aug 16 23:14:31 UTC 2011
Diffstat (limited to 'core/dash')
-rw-r--r-- | core/dash/PKGBUILD | 6 | ||||
-rw-r--r-- | core/dash/dash.install | 11 |
2 files changed, 14 insertions, 3 deletions
diff --git a/core/dash/PKGBUILD b/core/dash/PKGBUILD index 8105f73a3..3aeb4b3fe 100644 --- a/core/dash/PKGBUILD +++ b/core/dash/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 132155 2011-07-21 15:03:34Z dan $ +# $Id: PKGBUILD 135572 2011-08-15 22:58:37Z tomegun $ # Maintainer: Dan McGee <dan@archlinux.org> pkgname=dash pkgver=0.5.7 -pkgrel=1 +pkgrel=2 pkgdesc="A POSIX compliant shell that aims to be as small as possible" arch=('i686' 'x86_64') url="http://gondor.apana.org.au/~herbert/dash/" license=('BSD') -groups=('base') depends=('glibc') +install=dash.install source=("http://gondor.apana.org.au/~herbert/dash/files/${pkgname}-${pkgver}.tar.gz") sha1sums=('a3ebc16f2e2c7ae8adf64e5e62ae3dcb631717c6') diff --git a/core/dash/dash.install b/core/dash/dash.install new file mode 100644 index 000000000..6b04cba30 --- /dev/null +++ b/core/dash/dash.install @@ -0,0 +1,11 @@ +post_install() { + grep -q '/bin/dash' etc/shells || echo '/bin/dash' >> etc/shells +} + +post_upgrade() { + post_install +} + +pre_remove() { + sed -i '/^\/bin\/dash/d' etc/shells +} |