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

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

 



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

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers
--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux