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

GConf rant



I've just seen this in the gnome-applets package's postinst:

if [ "$1" = "configure" ]; then
        SCHEMA_LOCATION=/usr/share/gconf/schemas
        GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
        HOME=/root \
                gconftool-2 --direct --config-source=${GCONF_CONFIG_SOURCE} --load ${SCHEMA_LOCATION}/mc-default-macros.entries >/dev/null

    kill -s HUP `pidof gconfd-2` >/dev/null 2>&1 || true
fi

DO NOT *EVER* THINK AGAIN OF DOING SUCH THINGS, ANYONE !

Given the size of /etc/gconf/gconf.xml.defaults this is far from being
the only package to do that.

There is no way to clean properly these additions to the GConf default
source. Furthermore they will overwrite changes from the system
administrator.

If you want to override default values from upstream, please read the
dh_gconf manual page.
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: