Bug 111648 - Removing gnome-panel default .entries causes binary problems.
Bug#: 111648 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: obz@gentoo.org
Component: GNOME
URL: 
Summary: Removing gnome-panel default .entries causes binary problems.
Keywords:  
Status Whiteboard: 
Opened: 2005-11-05 18:53 0000
Description:   Opened: 2005-11-05 18:53 0000
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)

------- Comment #1 From Mike Gardiner (RETIRED) 2005-11-05 19:30:30 0000 -------
Committed now.