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

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