Re: Re: Suggested ScriptletSnippets (icon cache) changes

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

 



Hello,

So I gather as the result of this discussion would be:

----
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%postun
if [ $1 -eq 0 ] ; then
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi

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

Initial install and upgrades are handled by %post and %posttrans, final erase 
by %postun.  Anything more to tweak?  If not, is this discussion (see also 1) 
in my initial mail [0]) and summary enough for the FPC so you can look into 
it in a near future meeting?

[0] 
https://www.redhat.com/archives/fedora-packaging/2009-January/msg00138.html

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

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux