aboutsummaryrefslogtreecommitdiffstats
path: root/main/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'main/coreutils')
-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