diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-31 09:34:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-31 09:35:18 +0000 |
commit | c952dfb853a64d1bb2a3c4293ce60b5c531a6e1c (patch) | |
tree | d45f3f3911b604e38c101d0d7ab822ea9995400f /main/busybox | |
parent | b331691481840643cb5013e7e3ec70a6d6da2fc6 (diff) | |
download | aports-c952dfb853a64d1bb2a3c4293ce60b5c531a6e1c.tar.bz2 aports-c952dfb853a64d1bb2a3c4293ce60b5c531a6e1c.tar.xz |
main/busybox: fix ping applet when upgrading
Diffstat (limited to 'main/busybox')
-rw-r--r-- | main/busybox/APKBUILD | 2 | ||||
-rw-r--r-- | main/busybox/busybox.post-upgrade | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/main/busybox/APKBUILD b/main/busybox/APKBUILD index aa1d1353da..423f5aa586 100644 --- a/main/busybox/APKBUILD +++ b/main/busybox/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=busybox pkgver=1.24.2 -pkgrel=7 +pkgrel=8 pkgdesc="Size optimized toolbox of many common UNIX utilities" url=http://busybox.net arch="all" diff --git a/main/busybox/busybox.post-upgrade b/main/busybox/busybox.post-upgrade index 268f22d408..46ce3bd0ae 100644 --- a/main/busybox/busybox.post-upgrade +++ b/main/busybox/busybox.post-upgrade @@ -6,6 +6,11 @@ for link in /bin/install /bin/ip /bin/vi /usr/bin/lspci; do rm "$link" fi done +for link in /bin/ping /bin/ping6; do + if [ -L "$link" ] && [ "$(readlink $link)" = "/bin/bbsuid" ]; then + rm "$link" + fi +done # We need the symlinks early exec /bin/busybox --install -s |