[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with debhelper from backports.org



Micha Lenk wrote:

I have no clue yet whether this call to gconf-schemas generated by dh_gconf leads to something useful that I might miss now. If someone could shed some light on it I would appreciate it. :)

Probably does. Sarge's debhelper (4.2.32) has a dh_gconf as well. e.g., here is the postinst fragment it uses (it also has a prerm and postrm.):

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


So, it looks like on sarge you use gconftool-2. So, the debhelper backport is broken.


Reply to: