Now gconf 2.6.2-1 with support for SIGHUP was successfully built everywhere, it is time to update dh_gconf accordingly. Here are the scripts, based on Ross' modifications for migrating schemas to /usr.
If a few people could test them with a package of their own before I send them to joeyh, that would be nice. -- .''`. Josselin Mouette /\./\ : :' : [EMAIL PROTECTED] `. `' [EMAIL PROTECTED] `- Debian GNU/Linux -- The power of freedom
dh_gconf
Description: Perl program
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`
fi
if [ "$1" = purge ]; then
SCHEMA_FILES="#SCHEMAS#"
for SCHEMA in $SCHEMA_FILES; do
rm -f /etc/gconf/schemas/$SCHEMA
done
rmdir --ignore-fail-on-non-empty /etc/gconf/schemas
fi
if [ "$1" = remove ] || [ "$1" = upgrade ]; 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-uninstall-rule
$SCHEMA_LOCATION/$SCHEMA > /dev/null
fi
done
fi
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

