home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh -e
-
- if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then
- update-alternatives --install /usr/bin/x-www-browser \
- x-www-browser /usr/bin/firefox 70 \
- --slave /usr/share/man/man1/x-www-browser.1.gz \
- x-www-browser.1.gz /usr/share/man/man1/firefox.1.gz
- update-alternatives --install /usr/bin/mozilla mozilla \
- /usr/bin/firefox 0 \
- --slave /usr/share/man/man1/mozilla.1.gz mozilla.1.gz \
- /usr/share/man/man1/firefox.1.gz
- touch /usr/lib/firefox/.autoreg
- fi
-
- if [ -x /usr/sbin/update-desktop-database ]; then
- /usr/sbin/update-desktop-database
- fi
-
- # Automatically added by dh_installmenu
- if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
- update-menus
- fi
- # End automatically added section
- # Automatically added by dh_installmime
- if [ "$1" = "configure" ] && [ -x "`which update-mime 2>/dev/null`" ]; then
- update-mime
- fi
- # End automatically added section
-
-
- echo "Please restart any running Firefoxes, or you will experience problems."
-
- unud=/var/lib/update-notifier/user.d
-
- if pgrep firefox-bin >/dev/null 2>&1 && test -d $unud; then
- cp -f /usr/share/firefox/firefox-restart-required.update-notifier \
- "$unud/firefox-restart-required"
- fi
-
- crd=/usr/lib/firefox/components/compreg.dat
- if test -f $crd; then
- cat >&2 <<'END'
- Warning: something created compreg.dat!
- Your system was affected by this bug: https://launchpad.net/bugs/30791
- compreg.dat has now been removed again, which should fix the symptoms.
- END
- rm $crd
- fi
-