restarting firefox
Dennis Kaarsemaker
dennis at kaarsemaker.net
Sun Jan 28 07:55:39 UTC 2007
On za, 2007-01-27 at 23:37 -0600, David Farning wrote:
> Until the mozillateam gets these issues sorted out, would it be
> feasible to have update manager request that firefox be restart if any
> themes or fonts are updated.
That's not too hard to do, you'll need to add a postinst snippet like
what's used in firefox itself:
echo "Please restart any running Firefoxes, or you will experience
problems."
unud=/var/lib/update-notifier/user.d
if pgrep firefox-bin >/dev/null 2>&1 && test -d $unud; then
cp -f /usr/share/firefox/firefox-restart-required.update-notifier \
"$unud/firefox-restart-required"
fi
--
Dennis K.
Time is an illusion, lunchtime doubly so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20070128/1fdb199a/attachment.sig>
More information about the Ubuntu-devel-discuss
mailing list