[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Restarting desktop session services on RPM upgrade?



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]