aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-08-31 14:56:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-08-31 14:56:58 +0000
commit1d629b2fd055202ebf24161fe054852affc0ac22 (patch)
tree1b35f6e9f92963e8027a58b8988922e6acdfeef4
parent34e9c61c5f0c081c20837d3ee5ff9d38a2e79ce9 (diff)
downloadaports-1d629b2fd055202ebf24161fe054852affc0ac22.tar.bz2
aports-1d629b2fd055202ebf24161fe054852affc0ac22.tar.xz
main/wget: fix post-deinstall script
busyubox-1.19 require full path
-rw-r--r--main/wget/APKBUILD2
-rw-r--r--main/wget/wget.post-deinstall3
2 files changed, 3 insertions, 2 deletions
diff --git a/main/wget/APKBUILD b/main/wget/APKBUILD
index 55f8bb0735..26e63db7db 100644
--- a/main/wget/APKBUILD
+++ b/main/wget/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=wget
pkgver=1.13.1
-pkgrel=0
+pkgrel=1
pkgdesc="A network utility to retrieve files from the Web"
url="http://www.gnu.org/software/wget/wget.html"
arch="all"
diff --git a/main/wget/wget.post-deinstall b/main/wget/wget.post-deinstall
index 99b57c4635..05456cda65 100644
--- a/main/wget/wget.post-deinstall
+++ b/main/wget/wget.post-deinstall
@@ -1,3 +1,4 @@
#!/bin/sh
-busybox --install -s
+# apk uses wget so we must restore the busybox wget symlink early
+exec /bin/busybox --install -s