summaryrefslogtreecommitdiffstats
path: root/binutils.pkg.in/postinst
blob: ebd719db4ddb958ebda338955cf7e4275609d26a (plain)
1
2
3
4
5
6
7
8
#!/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
	fi
fi