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

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