Package: firefox
Version: 1.5.dfsg+1.5.0.1-1

The attached patch has the postinst use update-notifier to tell the
user they need to restart firefox after an upgrade/reinstallation.

There is a relevant bug report in Malone
 https://launchpad.net/distros/ubuntu/+source/firefox/+bug/36739
but it's not hugely informative.

Note that you might not want to apply this patch as-is because we've
removed the `echo' giving the same instructions.  Or you might prefer
to do this via a debconf notification.

Regards,
Ian.

--- 
../firefox-1502/construct/firefox-1.5.dfsg+1.5.0.2.orig/debian/firefox.postinst 
    2006-04-26 16:06:04.000000000 +0100
+++ firefox-1.5.dfsg+1.5.0.2/debian/firefox.postinst    2006-04-28 
15:31:25.000000000 +0100
@@ -17,4 +17,15 @@
 
 #DEBHELPER#
 
-echo "Please restart any running Firefoxes, or you will experience problems."
+unud=/var/lib/update-notifier/user.d
+if ps -C firefox-bin >/dev/null && test -d $unud; then
+    cat <<END >$unud/firefox-restart-required
+Name: Firefox restart required
+Priority: High
+Terminal: False
+DontShowAfterReboot: True
+Description: Firefox has been upgraded (or reinstalled) and must be restarted.
+ Please quit and restart your web browser now.
+END
+
+fi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to