[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: use of gtk-update-icon-cache?
- From: Michael Schwendt <bugs michael gmx net>
- To: Discussion related to Fedora Extras <fedora-extras-list redhat com>
- Subject: Re: use of gtk-update-icon-cache?
- Date: Fri, 29 Apr 2005 15:11:29 +0200
On Fri, 29 Apr 2005 13:16:44 +0200, Enrico Scholz wrote:
> 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.
Package installation would fail miserably in that case, because the
package could not install any files into %_datadir beforehand.
For exported file-systems, you would only install packages on the file
server, where the install locations are not read-only. Or what does your
scenario look like?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]