Could the way to install/uninstall schemas with gconftool-2 be added gconf2 as it has be done for scrollkeeper?

It is unclear from actual practice if the right way is:

InstallScript: <<
 #/bin/sh -ev
 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=%d
<<
PostInstScript: <<
 if [ configure = "$1" ]; then
  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  gconftool-2 --makefile-install-rule %p/etc/gconf/schemas/foo.schemas
 fi
<<
ConfFiles: %p/etc/gconf/schemas/foo.schemas

which lets part of the installation in place with a purge.

Or:

InstallScript: <<
 #/bin/sh -ev
 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=%d
<<
PreRmScript: <<
  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  gconftool-2 --makefile-uninstall-rule %p/etc/gconf/schemas/foo.schemas
<<
ConfFiles: %p/etc/gconf/schemas/foo.schemas

which cleans all.

Michèle
<http://micmacfr.homeunix.org>

Attachment: PGP.sig
Description: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=



Reply via email to