[Fedora-packaging] Re: GTK+ icon cache "bugs" on ScriptletSnippets

Rex Dieter rdieter at math.unl.edu
Sun Sep 24 03:21:57 UTC 2006

Marcin Garski wrote:

> My proposed resolution for this bug can be found in
> http://bugzilla.redhat.com/206860 but I will also paste it here:
> if [ -x %{_bindir}/gtk-update-icon-cache ]; then
>         if [ -f %{_datadir}/icons/hicolor/index.theme ]; then
>                 touch --no-create %{_datadir}/icons/hicolor || :
>                 %{_bindir}/gtk-update-icon-cache --quiet
> %{_datadir}/icons/hicolor || :
>         fi
> fi

I'd argue to greatly simplify the above to just:
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2>/dev/null ||:
but that's just me.

Actually, I'd argue this, imo, *stooopid* gtk-update-* crud doesn't
belong in packages at all, but again, that's just me, or wait, me and
*lots* of others too:

-- Rex

More information about the Fedora-packaging mailing list