The problem is, if they go into maintenance because of an installation
order issue, they won't clear when the binaries are installed,
so the user will have to manually clear them.

I decided that it's not a problem if we ignore the lack of these
binaries, because if, say gtk2 is not installed, it's not a problem
if the icon cache or the immodules config is not refreshed.
Same with gconftool and the others.

However, this way, when the binaries are installed, the packages that
install the binaries ping the services and they do their jobs.

To put it another way: the user won't notice that a cache wasn't
updated if the consumer of the cache is not installed.

Laca

On Wed, 2009-04-29 at 11:46 +0100, Matt Keenan wrote:
> If the binaries don't exist, is there any way to make the services go into
> maintenance mode so that at least the user knows the services have not
> completed ?
> 
> 
> 
> On 29/04/2009 11:37, Laszlo (Laca) Peter wrote:
> > Please review.
> >
> > The changes are:
> >
> > 1) in desktop-cache, I added guards in each method script
> >     so they don't try to run the corresponding binaries
> >     if they don't exist (because desktop-cache is installed
> >     before the binaries themselves)
> >
> > 2) made sure that that the packages that include the
> >     binaries ping the services
> >
> > 3) removed the dependencies on the packages that include
> >     the binaries from SUNWdesktop-cache and double checked
> >     that the packages that include the binaries depend on
> >     SUNWdesktop-cache.
> >
> > This should break the circular dependency.
> >
> > Laca
> >
> 


Reply via email to