aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox/busybox.post-upgrade
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-05-31 09:34:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-31 09:35:18 +0000
commitc952dfb853a64d1bb2a3c4293ce60b5c531a6e1c (patch)
treed45f3f3911b604e38c101d0d7ab822ea9995400f /main/busybox/busybox.post-upgrade
parentb331691481840643cb5013e7e3ec70a6d6da2fc6 (diff)
downloadaports-c952dfb853a64d1bb2a3c4293ce60b5c531a6e1c.tar.gz
aports-c952dfb853a64d1bb2a3c4293ce60b5c531a6e1c.tar.bz2
aports-c952dfb853a64d1bb2a3c4293ce60b5c531a6e1c.tar.xz
main/busybox: fix ping applet when upgrading
Diffstat (limited to 'main/busybox/busybox.post-upgrade')
-rw-r--r--main/busybox/busybox.post-upgrade5
1 files changed, 5 insertions, 0 deletions
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