[Fedora-packaging] Re: Suggested ScriptletSnippets (=?iso-8859-1?q?icon=09cache?=) changes
Ville Skyttä
ville.skytta at iki.fi
Thu Feb 5 21:08:54 UTC 2009
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
More information about the Fedora-packaging
mailing list