aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-12-03 12:02:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-12-03 15:06:01 +0000
commit0aea1ca743ff580e2b83195590ff2a7bf06881e7 (patch)
tree37f63384a849cc74d308fd8d8ad255f6f1597678 /main
parentea5a40b3aff7ef89d011aacea0031a9de6e237b4 (diff)
downloadaports-0aea1ca743ff580e2b83195590ff2a7bf06881e7.tar.bz2
aports-0aea1ca743ff580e2b83195590ff2a7bf06881e7.tar.xz
main/coreutils: add post-deinstall script
we need restore busybox symlinks early
Diffstat (limited to 'main')
-rw-r--r--main/coreutils/APKBUILD3
-rw-r--r--main/coreutils/coreutils.post-deinstall4
2 files changed, 6 insertions, 1 deletions
diff --git a/main/coreutils/APKBUILD b/main/coreutils/APKBUILD
index 8578fd4b4c..bc0707595b 100644
--- a/main/coreutils/APKBUILD
+++ b/main/coreutils/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=coreutils
pkgver=8.20
-pkgrel=0
+pkgrel=1
pkgdesc="The basic file, shell and text manipulation utilities"
url="http://www.gnu.org/software/coreutils/"
arch="all"
@@ -11,6 +11,7 @@ depends=
makedepends="bash"
install=
subpackages="$pkgname-doc"
+install="$pkgname.post-deinstall"
source="http://ftp.gnu.org/gnu/coreutils/$pkgname-$pkgver.tar.xz"
build() {
diff --git a/main/coreutils/coreutils.post-deinstall b/main/coreutils/coreutils.post-deinstall
new file mode 100644
index 0000000000..24e0bdf255
--- /dev/null
+++ b/main/coreutils/coreutils.post-deinstall
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# other post scripts might need rm so we don't wait for the trigger
+exec /bin/busybox --install -s