Re: GNOME 3.25.92 megaupdate

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

 



Rex Dieter wrote:

> Kalev Lember wrote:
> 
>> I
>> can add the triggers to KDE and other themes as well if their
>> maintainers are fine with it. rdieter?
> 
> If you don't mind, please do, thanks.

Looking closer, I'm curious why you chose to go with:

%transfiletriggerin -- %{_datadir}/icons/hicolor
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :


wouldn't this be better to do instead:

%filetriggerin -- %{_datadir}/icons/hicolor
touch %{_datadir}/icons/hicolor &> /dev/null || :

%transfiletriggerin -- %{_datadir}/icons/hicolor
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :

This way, it better ensures the cache is constructed only once, even in the 
presence of packages with legacy icon scriptlets.


-- Rex


_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux