]> git.donarmstrong.com Git - debhelper.git/blob - autoscripts/postinst-gconf
f4a7c82d7f13ec55ad8ee49e14b7af5d9099f041
[debhelper.git] / autoscripts / postinst-gconf
1 if [ "$1" = "configure" ]; then
2         SCHEMA_LOCATION=/usr/share/gconf/schemas
3         SCHEMA_FILES="#SCHEMAS#"
4         for SCHEMA in $SCHEMA_FILES; do
5                 if [ -e $SCHEMA_LOCATION/$SCHEMA ]; then
6                         HOME=/root GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \
7                                 gconftool-2 \
8                                 --makefile-install-rule $SCHEMA_LOCATION/$SCHEMA > /dev/null
9                 fi
10         done
11
12         kill -HUP `pidof gconfd-2` >/dev/null 2>&1 || true
13 fi