summaryrefslogtreecommitdiffstats
path: root/busybox.pkg/prerm
blob: 54b5053bfe449e0ae3b12f170637c8b4252b7ea3 (plain)
1
2
3
4
5
6
7
#!/bin/sh

if [ "x${1}" = 'xremove' ]; then
	while read link name prio; do
		update-alternatives --remove "${name}" "${link}.busybox"
	done </usr/share/busybox/alternatives
fi