From 29add35a30e5b0aeb2d23b3e2d4b7a05c97c535f Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 22 Sep 2005 08:00:21 +0000 Subject: r1786: releasing version 4.9.9 --- autoscripts/postinst-gconf | 12 +----------- autoscripts/prerm-gconf | 10 +--------- 2 files changed, 2 insertions(+), 20 deletions(-) (limited to 'autoscripts') diff --git a/autoscripts/postinst-gconf b/autoscripts/postinst-gconf index a0674bfd..f5e7b2bc 100644 --- a/autoscripts/postinst-gconf +++ b/autoscripts/postinst-gconf @@ -1,13 +1,3 @@ if [ "$1" = "configure" ]; then - SCHEMA_LOCATION=/usr/share/gconf/schemas - SCHEMA_FILES="#SCHEMAS#" - for SCHEMA in $SCHEMA_FILES; do - if [ -e $SCHEMA_LOCATION/$SCHEMA ]; then - HOME=/root GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \ - gconftool-2 \ - --makefile-install-rule $SCHEMA_LOCATION/$SCHEMA > /dev/null - fi - done - - kill -s HUP `pidof gconfd-2` >/dev/null 2>&1 || true + /usr/sbin/gconf-schemas --register #SCHEMAS# fi diff --git a/autoscripts/prerm-gconf b/autoscripts/prerm-gconf index cd755413..18e911ba 100644 --- a/autoscripts/prerm-gconf +++ b/autoscripts/prerm-gconf @@ -1,11 +1,3 @@ if [ "$1" = remove ] || [ "$1" = upgrade ]; then - SCHEMA_LOCATION=/usr/share/gconf/schemas - SCHEMA_FILES="#SCHEMAS#" - for SCHEMA in $SCHEMA_FILES; do - if [ -e $SCHEMA_LOCATION/$SCHEMA ]; then - HOME=/root GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \ - gconftool-2 \ - --makefile-uninstall-rule $SCHEMA_LOCATION/$SCHEMA > /dev/null - fi - done + /usr/sbin/gconf-schemas --unregister #SCHEMAS# fi -- cgit v1.2.3