summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-gconf
blob: c5ee87d5e0a6fc24dcb062b209e80f7820ea949b (plain)
1
2
3
4
5
6
7
8
9
10
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