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

if [ x"${1}" = x'configure' ]; then
	for f in opkg-key update-alternatives; do
		update-alternatives --install "/usr/bin/${f}" "${f}" \
			"/usr/bin/${f}-orig" 20
	done
fi