Dnia 09-11-2006, czw o godzinie 20:44 +0100, Tomasz Kłoczko napisał(a):
[..]
%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
After run above from hand as next I'm run (just for exercise/check):
# gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/*.schemas
& /dev/null
It do not produces xml files with empty trees in $GCONF_CONFIG_SOURCE
directory. Is it correct ? (IMO not)
Probably --makefile-{,un}install-rule switches are not fully symmetric.
kloczek