Dnia 09-11-2006, czw o godzinie 14:13 -0800, Toshio Kuratomi napisał(a):
On Thu, 2006-11-09 at 20:44 +0100, Tomasz Kłoczko wrote:
Corrected %postun example:
%postun export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` rm -f $GCONF_CONFIG_SOURCE/* gconftool-2 --makefile-install-rule /etc/gconf/schemas/*.schemas
& /dev/null
%postun is the wrong scriptlet to run this in. Once you get to %postun, the original schema file is no longer present.
And this is correct because on regenerate schema database we don't want have registered this schema.
kloczek