Does firefox upgrades need some pre/post install love to close and restart firefox during upgrades

Jos Vos jos at xos.nl
Sun Nov 15 11:46:37 UTC 2009


On Sun, Nov 15, 2009 at 09:23:56PM +1100, Rodd Clarkson wrote:

> Is it possible to put in a little pre/post install love that asks to
> shut firefox (saving the session) and then restarts it after the upgrade
> is complete?

Yum/rpm package actions do not have (and should not have) any user
interaction.  Synchronisation (i.e. wait for user response) is
therefore impossible by design.

And what if many firefox instances (for more users) are running?

The only thing that could be done is sending some signal to all
firefox instances (and even that is tricky, but that won't help
much.

-- 
--    Jos Vos <jos at xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204




More information about the fedora-test-list mailing list