Dnia 09-11-2006, czw o godzinie 20:14 +0100, Michael Schwendt
napisał(a):
[..]
> %postun
> GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \
> gconftool-2 --makefile-install-rule \
> /etc/gconf/schemas/*.schemas
& /dev/null
>
> Yes .. regenerate schemas database takes longer time but will
guarantee
> schamas database correct content.
>
> kloczek
Where's --makefile-uninstall-rule with your system?
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
Probably better will be have handle regenerate schemas database directly
as gconftool-2 switch.
kloczek