Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/browser/installer/linux/app/debian/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  postinst.in   Sprache: unbekannt

 
#!/bin/sh -e

if [ "$$1" = "configure" ] || [ "$$1" = "abort-upgrade" ] || [ "$$1" = "abort-remove" ] ; then
    update-alternatives --install /usr/bin/gnome-www-browser \
        gnome-www-browser /usr/bin/${DEB_PKG_NAME} 100 \
        --slave /usr/share/man/man1/gnome-www-browser.1.gz \
        gnome-www-browser.1.gz /usr/share/man/man1/${DEB_PKG_NAME}.1.gz

    update-alternatives --install /usr/bin/x-www-browser \
        x-www-browser /usr/bin/${DEB_PKG_NAME} 100 \
        --slave /usr/share/man/man1/x-www-browser.1.gz \
        x-www-browser.1.gz /usr/share/man/man1/${DEB_PKG_NAME}.1.gz
fi

# Canonical shipped an AppArmor configuration via that file until 20.04 release
# but unfortunately there was no removal of it handled in the package.
# Mozilla Debian package "firefox" will thus inherit this rule and it may break
# some features, cf bug 1918003.
#
# The correct AppArmor configuration for that package lives at
# /etc/apparmor.d/firefox, and properly covers all the alternatives.
if [ ${DEB_PKG_NAME} = firefox ] ; then
  dpkg-maintscript-helper rm_conffile /etc/apparmor.d/usr.bin.firefox -- "$$@"
fi

[ Dauer der Verarbeitung: 0.2 Sekunden  (vorverarbeitet)  ]