summaryrefslogtreecommitdiffstats
path: root/busybox.pkg/postinst
blob: a9922b62d5ffd2e8087ebdd848e80f7869e9551f (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

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