summaryrefslogtreecommitdiffstats
path: root/binutils.pkg.in/postinst
blob: c2bdc2a270f5a775bd75b33958301c80c57be973 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

if [ "x${1}" = 'xconfigure' ]; then
	if [ "x$(cat /etc/proteanos_arch)" = 'x@PKG_TARGET_ARCH@' ]; then
		update-alternatives --install /usr/bin/ar ar \
			/usr/bin/ar.binutils 20
		update-alternatives --install /usr/bin/strings strings \
			/usr/bin/strings.binutils 20
	fi
fi