summaryrefslogtreecommitdiffstats
path: root/busybox.pkg/postinst
blob: 29c3d311b8321a106a450a7b5240923664fd9a0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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
	update-alternatives --install /usr/bin/mkpasswd mkpasswd \
		/usr/bin/mkpasswd.busybox 10
fi