~ubuntu-branches/ubuntu/precise/firefox/precise-proposed

« back to all changes in this revision

Viewing changes to debian/mozilla-firefox.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Ian Jackson
  • Date: 2005-12-02 20:16:18 UTC
  • Revision ID: james.westby@ubuntu.com-20051202201618-txu8o1sikp5e3by5
Tags: 1.4.99+1.5rc3.dfsg-1ubuntu4
* Applied mozilla-1.7.12-2.src.rpm's firefox-1.0-uriloader.patch
  which causes firefox to look first in the Gnome MIME handling registry
  (MIME handling is still very wrong).
* Disabled File / Import from main menu since it does not work at all
  (Ubuntu bugzilla 10339 still applies; patch brought forward).
* Displayed printer names no longer show `CUPS/' prefix.
  (Ubuntu bugzilla 11481 regressed; patch from Breezy enhanced).
* Print command fixed (again) to cope with spaces in printer names.
* Remove incorrect note about Pango from README.Debian.
* Re-fix-up localised startup URLs in en-US region.properties.
* Fix incorrect layout/sizing in Help / About box (a bit hacky).
* Re-forward-port patch to fix printer names with spaces.
* Remove all subdirectories '*.OBJ' during clean.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
if [ "$1" = "configure" -o "$1" = "abort-upgrade" ] ; then
 
4
    update-alternatives --install /usr/bin/x-www-browser \
 
5
        x-www-browser /usr/bin/firefox 70 \
 
6
        --slave /usr/share/man/man1/x-www-browser.1.gz \
 
7
        x-www-browser.1.gz /usr/share/man/man1/firefox.1.gz
 
8
    update-alternatives --install /usr/bin/mozilla mozilla \
 
9
        /usr/bin/firefox 0 \
 
10
        --slave /usr/share/man/man1/mozilla.1.gz mozilla.1.gz \
 
11
        /usr/share/man/man1/firefox.1.gz
 
12
fi
 
13
 
 
14
if [ -x /usr/sbin/update-desktop-database ]; then
 
15
    /usr/sbin/update-desktop-database
 
16
fi
 
17
 
 
18
#DEBHELPER#
 
19
 
 
20
echo "Please restart any running Firefoxes, or you will experience problems."