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

gtk-update-icon-cache %posttrans (was Re: Error output from rpm pre/post scripts)



On Thu, 2007-07-05 at 16:15 -0400, Matthias Clasen wrote:
> On Thu, 2007-07-05 at 16:13 -0400, Jesse Keating wrote:
> > On Thursday 05 July 2007 16:15:02 Michael Thomas wrote:
> > > What about adding 'Requires(post): coreutils' to bring in 'touch' for
> > > the gtk+ icon cache scriptlet:
> > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=246770
> > >
> > > It seems excessive to me, because I can't imagine a situation where
> > > coreutils would not get installed.  But I also haven't looked that
> > > closely at the dependency tree either.
> > 
> > Often it's not about whether it will be installed or not, but rather it's 
> > about whether it will be installed /before/ your %pre/%post script is ran if 
> > the packages are in the same transaction (IE installer or big upgrades).
> > 
> 
> Now that we are discussing this again, I'd like to point out that the
> recent ldconfig/%posttrans discussion is somewhat related to this. If
> we can make %posttrans useful for ldconfig, we can use it for icon cache
> updates too. That would be a big win.
> 
That would be great.  Unfortunately, %posttrans doesn't work in the
ldconfig case because it doesn't run when only erasing packages.  Will
that make a difference for gtk-update-icon-cache as well?

BTW, what happened to your --delay patch to gtk-update-icon-cache?  That
also sounded promising for the performance aspect of calling it multiple
times from scriptlets.

-Toshio

Attachment: signature.asc
Description: This is a digitally signed message part


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