Restarting desktop session services on RPM upgrade?

Ray Strode rstrode at redhat.com
Fri Jun 15 20:57:20 UTC 2007


Hi,
>   echo %{version} > %{_datadir}/mugshot/version
> 
> Now, there are still a downside: you have to wake up to check for an
> upgrade every so often. If you wake up too often, you drain power.
> If you wake up less often, it might be a while before you switch
> versions, so the desktop component needs to be robust against that.

Why aren't you just watching the file with inotify or gamin or whatever?

--Ray




More information about the Fedora-maintainers mailing list