summaryrefslogtreecommitdiffstats
path: root/main/busybox/busybox.post-upgrade
blob: c55561cc11b0d5d78e6aa149d3d1ad23e9bab5c6 (plain)
1
2
3
4
5
6
7
8
9
#!/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