Re: Suggested ScriptletSnippets (icon cache) changes

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

 



On Wed, Jan 28, 2009 at 01:36:36 +0200,
  Ville Skyttä <ville.skytta@xxxxxx> wrote:
> 
> 2) Append " &>/dev/null" to the "touch" line in %postun.  If "touch" is not 
> available when the package is removed, I find it more than likely that GTK+ 
> or KDE are not there to benefit from icon cache updates any longer 
> either.  /usr/share may also be mounted read only with %_netsharedpath.

The right way to do things is to make sure touch is available by
having an approiate script dependency on the package that provides touch.
Something like:
Requires(pre): coreutils

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux