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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to