summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-gconf
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-gconf')
-rw-r--r--autoscripts/postinst-gconf11
1 files changed, 11 insertions, 0 deletions
diff --git a/autoscripts/postinst-gconf b/autoscripts/postinst-gconf
new file mode 100644
index 00000000..c5ee87d5
--- /dev/null
+++ b/autoscripts/postinst-gconf
@@ -0,0 +1,11 @@
+if [ "$1" = "configure" ]; then
+ SCHEMA_LOCATION=/etc/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
+fi