diff options
author | joey <joey> | 2005-09-22 08:00:21 +0000 |
---|---|---|
committer | joey <joey> | 2005-09-22 08:00:21 +0000 |
commit | 29add35a30e5b0aeb2d23b3e2d4b7a05c97c535f (patch) | |
tree | 2ca16aee294cffce582ff7a81c0aadde5fd2a4d4 /autoscripts | |
parent | 2632e573ecb8d02576e17c8ab94b469a3c30f993 (diff) |
r1786: releasing version 4.9.9
Diffstat (limited to 'autoscripts')
-rw-r--r-- | autoscripts/postinst-gconf | 12 | ||||
-rw-r--r-- | autoscripts/prerm-gconf | 10 |
2 files changed, 2 insertions, 20 deletions
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 |