aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox/busybox.post-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'main/busybox/busybox.post-upgrade')
-rw-r--r--[l---------]main/busybox/busybox.post-upgrade10
1 files changed, 9 insertions, 1 deletions
diff --git a/main/busybox/busybox.post-upgrade b/main/busybox/busybox.post-upgrade
index 1f4b450e5e..c55561cc11 120000..100644
--- a/main/busybox/busybox.post-upgrade
+++ b/main/busybox/busybox.post-upgrade
@@ -1 +1,9 @@
-busybox.post-install \ No newline at end of file
+#!/bin/sh
+
+# /bin/install has moved to /usr/bin/install, but we need remove old link
+if [ -L /bin/install ] && [ "$(readlink /bin/install)" = "/bin/busybox" ]; then
+ rm /bin/install
+fi
+
+# We need the symlinks early
+exec /bin/busybox --install -s