Joey, sorry, there was a mistake in the postinst script of my previous email. Here it is, updated.
Regards, -- .''`. Josselin Mouette /\./\ : :' : [EMAIL PROTECTED] `. `' [EMAIL PROTECTED] `- Debian GNU/Linux -- The power of freedom
dh_gconf
Description: Perl program
if [ "$1" = purge ]; then
SCHEMA_FILES="#SCHEMAS#"
for SCHEMA in $SCHEMA_FILES; do
rm -f /etc/gconf/schemas/$SCHEMA
done
rmdir -p --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
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 || true
fi
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

