#! /bin/sh -e

prio=$(echo @BV@ | sed 's/\.//g')

for i in cpp gcc gcc-ar gcc-nm gcc-ranlib; do
    update-alternatives --quiet \
	--install /usr/bin/hppa64-linux-gnu-$i \
		hppa64-linux-gnu-$i \
		/usr/bin/hppa64-linux-gnu-$i-@BV@ \
		$prio
done

#DEBHELPER#

exit 0
