summaryrefslogtreecommitdiff
path: root/autoscripts/prerm-gconf
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/prerm-gconf')
-rw-r--r--autoscripts/prerm-gconf10
1 files changed, 1 insertions, 9 deletions
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