tag 329413 +patch thanks On Thu, Oct 06, 2005 at 03:16:51PM -0400, Michael Spang <[EMAIL PROTECTED]> wrote: > Right now I am assuming that once Firefox 1.5 is released to unstable, > the Debian chrome update scripts will be included. I sent the Firefox > maintainer an email to try and confirm this, but I haven't received any > reply yet. Note that this script is Debian-specific, it's there so a > package can drop a file into /var/lib/mozilla-firefox/extensions.d > instead of touching Firefox's installed-chrome.txt directly. My hands > are tied right now because I don't whether or not this system will > change for the first release of 1.5 into the main archive.
I'm pretty sure I replied to your mail. Maybe you didn't receive it. Anyways, the update-mozilla-firefox-chrome won't return, since it's useless for firefox 1.5. You can just check whether it exists or not before running it. Attached a patch for doing so. Cheers, Mike
diff -ruN mozilla-firefox-webdeveloper-0.9.3/debian/postinst mozilla-firefox-webdeveloper-0.9.3.new/debian/postinst --- mozilla-firefox-webdeveloper-0.9.3/debian/postinst 2005-11-03 20:16:03.982480760 +0100 +++ mozilla-firefox-webdeveloper-0.9.3.new/debian/postinst 2005-11-03 20:15:28.092936800 +0100 @@ -5,7 +5,9 @@ case "$1" in configure) - update-mozilla-firefox-chrome + if which update-mozilla-firefox-chrome 2> /dev/null > /dev/null; then + update-mozilla-firefox-chrome + fi ;; abort-upgrade|abort-remove|abort-deconfigure) diff -ruN mozilla-firefox-webdeveloper-0.9.3/debian/postrm mozilla-firefox-webdeveloper-0.9.3.new/debian/postrm --- mozilla-firefox-webdeveloper-0.9.3/debian/postrm 2005-11-03 20:16:03.982480760 +0100 +++ mozilla-firefox-webdeveloper-0.9.3.new/debian/postrm 2005-11-03 20:15:43.692565296 +0100 @@ -5,7 +5,9 @@ case "$1" in remove) - update-mozilla-firefox-chrome + if which update-mozilla-firefox-chrome 2> /dev/null > /dev/null; then + update-mozilla-firefox-chrome + fi ;; purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)