On Wed, Jan 28, 2009 at 01:36:36 +0200,
Ville Skyttä <ville.skytta(a)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