# for alt in x-www-browser gnome-www-browser; do
#    update-alternatives --install \
#		/usr/bin/$alt $alt /usr/bin/epiphany 85 \
#	        --slave /usr/share/man/man1/$alt.1.gz $alt.1.gz /usr/share/man/man1/epiphany.1.gz
#done

# if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then

for alt in x-www-browser gnome-www-browser; do
    update-alternatives --install /usr/bin/$alt \
        $alt /usr/bin/iceweasel 90 \
        --slave /usr/share/man/man1/$alt.1.gz \
        $alt.1.gz /usr/share/man/man1/iceweasel.1.gz
done

    update-alternatives --install /usr/bin/mozilla mozilla \
        /usr/bin/iceweasel 0 \
        --slave /usr/share/man/man1/mozilla.1.gz mozilla.1.gz \
        /usr/share/man/man1/firefox.1.gz
    touch /usr/lib/iceweasel/.autoreg
#fi
