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

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