From 0aea1ca743ff580e2b83195590ff2a7bf06881e7 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 3 Dec 2012 12:02:23 +0000 Subject: main/coreutils: add post-deinstall script we need restore busybox symlinks early --- main/coreutils/APKBUILD | 3 ++- main/coreutils/coreutils.post-deinstall | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 main/coreutils/coreutils.post-deinstall (limited to 'main') 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 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 -- cgit v1.2.3