use of gtk-update-icon-cache?

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Fri Apr 29 11:16:44 UTC 2005


fkooman at tuxed.net ("F. Kooman") writes:

> %post
> # update icon themes
> touch %{_datadir}/icons/hicolor
> if [ -x /usr/bin/gtk-update-icon-cache ]; then
>   /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
> fi

Stop, before applying such scriptlets: There must be appended an '|| :'
after the 'touch' and the 'gtk-update-icon-cache' command. When %_datadir
is in %_netsharedpath and mounted read-only therefore, the command and
the entire scriptlet will fail.



Enrico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20050429/49c7abd1/attachment.sig>


More information about the fedora-extras-list mailing list