Comment 19 for bug 11746

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20050110145503.GA18980@localhost>
Date: Mon, 10 Jan 2005 14:55:04 +0000
From: Paul Brossier <email address hidden>
To: <email address hidden>
Subject: Calls update-mozilla-firefox-chrome on purge

--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

same cause same effect, also applying the changes to
debian/mozilla-firefox-dom-inspector.postrm

--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
 filename="nmu.check_before_uninstall_gnome-support_and_dom-inspector.patch"

diff -Nru /tmp/YqK9wguHwk/mozilla-firefox-1.0+dfsg.1/debian/changelog /tmp/Rv6sYBhm74/mozilla-firefox-1.0+dfsg.1/debian/changelog
--- /tmp/YqK9wguHwk/mozilla-firefox-1.0+dfsg.1/debian/changelog 2005-01-10 14:45:59.000000000 +0000
+++ /tmp/Rv6sYBhm74/mozilla-firefox-1.0+dfsg.1/debian/changelog 2005-01-10 14:47:00.356883440 +0000
@@ -1,3 +1,13 @@
+mozilla-firefox (1.0+dfsg.1-1.1) unstable; urgency=low
+
+ * NMU.
+ * debian/mozilla-firefox-gnome-support.postrm: only calls
+ update-mozilla-firefox-chrome if found, not when firefox has already been
+ removed. (Closes: #287355) same changes applied to
+ debia/mozilla-firefox-dom-inspector.postrm
+
+ -- Paul Brossier <email address hidden> Mon, 10 Jan 2005 14:35:17 +0000
+
 mozilla-firefox (1.0+dfsg.1-1) unstable; urgency=low

   * Not a new upstream release.
diff -Nru /tmp/YqK9wguHwk/mozilla-firefox-1.0+dfsg.1/debian/mozilla-firefox-dom-inspector.postrm /tmp/Rv6sYBhm74/mozilla-firefox-1.0+dfsg.1/debian/mozilla-firefox-dom-inspector.postrm
--- /tmp/YqK9wguHwk/mozilla-firefox-1.0+dfsg.1/debian/mozilla-firefox-dom-inspector.postrm 2005-01-10 14:45:59.000000000 +0000
+++ /tmp/Rv6sYBhm74/mozilla-firefox-1.0+dfsg.1/debian/mozilla-firefox-dom-inspector.postrm 2005-01-10 14:47:00.364882224 +0000
@@ -2,7 +2,9 @@

 case "$1" in
     abort-install|purge|remove)
- update-mozilla-firefox-chrome
+ if [ -x /usr/sbin/update-mozilla-firefox-chrome ]; then
+ /usr/sbin/update-mozilla-firefox-chrome
+ fi
         ;;
     *)
         ;;
diff -Nru /tmp/YqK9wguHwk/mozilla-firefox-1.0+dfsg.1/debian/mozilla-firefox-gnome-support.postrm /tmp/Rv6sYBhm74/mozilla-firefox-1.0+dfsg.1/debian/mozilla-firefox-gnome-support.postrm
--- /tmp/YqK9wguHwk/mozilla-firefox-1.0+dfsg.1/debian/mozilla-firefox-gnome-support.postrm 2005-01-10 14:45:59.000000000 +0000
+++ /tmp/Rv6sYBhm74/mozilla-firefox-1.0+dfsg.1/debian/mozilla-firefox-gnome-support.postrm 2005-01-10 14:47:00.364882224 +0000
@@ -2,7 +2,9 @@

 case "$1" in
     abort-install|purge|remove)
- update-mozilla-firefox-chrome
+ if [ -x /usr/sbin/update-mozilla-firefox-chrome ]; then
+ /usr/sbin/update-mozilla-firefox-chrome
+ fi
         ;;
     *)
         ;;

--OgqxwSJOaUobr8KG--