summaryrefslogtreecommitdiffstats
path: root/busybox.pkg/prerm
diff options
context:
space:
mode:
Diffstat (limited to 'busybox.pkg/prerm')
-rwxr-xr-xbusybox.pkg/prerm4
1 files changed, 2 insertions, 2 deletions
diff --git a/busybox.pkg/prerm b/busybox.pkg/prerm
index 30ebdab..39f963d 100755
--- a/busybox.pkg/prerm
+++ b/busybox.pkg/prerm
@@ -6,8 +6,8 @@ if [ "x${1}" = 'xupgrade' ]; then
"/etc/init.d/${script}" stop
done </usr/share/busybox/init-scripts
fi
- while read link name prio; do
- update-alternatives --remove "${name}" "${link}.busybox"
+ while read link; do
+ update-alternatives --remove "${link##*/}" "${link}.busybox"
done </usr/share/busybox/alternatives
if [ -f /usr/share/busybox/www/SHA256SUMS ]; then
if [ -f /var/www/index.html ] && \