diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-30 12:00:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-30 12:00:04 +0000 |
commit | 6027c2e9cc08a52327c381ab0a50ea5767fd0534 (patch) | |
tree | ea8306801eb8ef502ecaec335f4b747f8e325679 /main/sed | |
parent | adfa115972bb35f51c2454fbb8676ff5c8afda03 (diff) | |
download | aports-6027c2e9cc08a52327c381ab0a50ea5767fd0534.tar.bz2 aports-6027c2e9cc08a52327c381ab0a50ea5767fd0534.tar.xz |
main/sed: fix deinstall script
But we still keep it since sed might be used in install scripts.
Diffstat (limited to 'main/sed')
-rw-r--r-- | main/sed/APKBUILD | 6 | ||||
-rw-r--r-- | main/sed/sed.post-deinstall | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/main/sed/APKBUILD b/main/sed/APKBUILD index 26e2425273..5afb29ab90 100644 --- a/main/sed/APKBUILD +++ b/main/sed/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=sed pkgver=4.2.1 -pkgrel=2 +pkgrel=3 subpackages="$pkgname-doc" pkgdesc="GNU stream editor" url="http://www.gnu.org/software/sed" @@ -20,6 +20,10 @@ build() { --disable-i18n \ --disable-nls make || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install } diff --git a/main/sed/sed.post-deinstall b/main/sed/sed.post-deinstall index 99b57c4635..81dde1ec59 100644 --- a/main/sed/sed.post-deinstall +++ b/main/sed/sed.post-deinstall @@ -1,3 +1,6 @@ #!/bin/sh -busybox --install -s +# we cannot rely on the busbox trigger since sed might be used from install +# scripts + +exec /bin/busybox --install -s |