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

Re: use of gtk-update-icon-cache?



fkooman 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

Attachment: pgp00189.pgp
Description: PGP signature


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