From 94aeb70f22c6bed29e4fc701ee24a5fe93995ae0 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 11 Mar 2011 12:26:40 -0600 Subject: main/patch: unclobber busybox on uninstall --- main/patch/APKBUILD | 1 + main/patch/patch.post-deinstall | 3 +++ main/patch/patch.post-upgrade | 3 +++ 3 files changed, 7 insertions(+) create mode 100644 main/patch/patch.post-deinstall create mode 100644 main/patch/patch.post-upgrade (limited to 'main') diff --git a/main/patch/APKBUILD b/main/patch/APKBUILD index c74712b388..c94533944e 100644 --- a/main/patch/APKBUILD +++ b/main/patch/APKBUILD @@ -9,6 +9,7 @@ license='GPL' depends= source="ftp://ftp.gnu.org/gnu/patch/patch-2.6.tar.bz2" subpackages="$pkgname-doc" +install="$pkgname.post-deinstall $pkgname.post-upgrade" _builddir="$srcdir"/$pkgname-2.6 diff --git a/main/patch/patch.post-deinstall b/main/patch/patch.post-deinstall new file mode 100644 index 0000000000..99b57c4635 --- /dev/null +++ b/main/patch/patch.post-deinstall @@ -0,0 +1,3 @@ +#!/bin/sh + +busybox --install -s diff --git a/main/patch/patch.post-upgrade b/main/patch/patch.post-upgrade new file mode 100644 index 0000000000..99b57c4635 --- /dev/null +++ b/main/patch/patch.post-upgrade @@ -0,0 +1,3 @@ +#!/bin/sh + +busybox --install -s -- cgit v1.2.3