[Fedora-packaging] Suggested ScriptletSnippets (icon cache) changes
Bruno Wolff III
bruno at wolff.to
Wed Jan 28 14:03:41 UTC 2009
On Wed, Jan 28, 2009 at 01:36:36 +0200,
Ville Skyttä <ville.skytta at iki.fi> 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
More information about the Fedora-packaging
mailing list