The gnome-panel pkg_postinst()
pkg_postinst() {
local entries="/etc/gconf/schemas/panel-default-setup.entries"
if [ -e "$entries" ]; then
einfo "setting panel gconf defaults..."
GCONF_CONFIG_SOURCE=`${ROOT}/usr/bin/gconftool-2 --get-default-source`
${ROOT}/usr/bin/gconftool-2 --direct --config-source \
${GCONF_CONFIG_SOURCE} --load=${entries}
rm -f ${entries}
fi
# Calling this late so it doesn't process the GConf schemas file we already
# took care of.
gnome2_pkg_postinst
}
Removing the entries file here causes binary problems. For an example, see the
output of equery f gnome-panel | grep entries with ls /etc/gconf/schemas/*entries.
The rm -rf should be removed from the ebuilds (probably >= 2.10)