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

if [ "x${1}" = 'xconfigure' ]; then
	update-alternatives --install /usr/bin/awk awk /usr/bin/awk.busybox 10
	update-alternatives --install /usr/bin/ar ar /usr/bin/ar.busybox 10
	update-alternatives --install /usr/bin/strings strings \
		/usr/bin/strings.busybox 10
	update-alternatives --install /usr/bin/clear clear \
		/usr/bin/clear.busybox 10
	update-alternatives --install /usr/bin/reset reset \
		/usr/bin/reset.busybox 10
fi