summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-gconf
blob: f4a7c82d7f13ec55ad8ee49e14b7af5d9099f041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 -HUP `pidof gconfd-2` >/dev/null 2>&1 || true
fi