summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-gconf
blob: a0674bfd31f56ba525c13c9843100ff96c7cbf3e (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 -s HUP `pidof gconfd-2` >/dev/null 2>&1 || true
fi