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