#! /bin/sh

set -e

if [ "$1" = "upgrade" ]
then
# Remove the old declaration
    update-alternatives --display libblas.so.3gf >/dev/null 2>&1 && update-alternatives --remove-all libblas.so.3gf
fi

if [ "$1" != "upgrade" ]
then
# For the transition libblas3gf => libblas3
    update-alternatives --remove libblas.so.3gf /usr/lib/libblas/libblas.so.3
fi

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0
