summaryrefslogtreecommitdiffstats
path: root/binutils.pkg.in/prerm
blob: 6966487eeda36f09106db9dcc5d44abb6536325d (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

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