Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o, compnerd@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in gnome-base/gnome-panel: ChangeLog gnome-panel-2.20.0.1.ebuild
Date: Sun, 07 Oct 2007 09:12:19
Message-Id: 20071007085944.GG31103@supernova
1 On 21:28 Sat 06 Oct , Saleem Abdulrasool (compnerd) wrote:
2 > 1.1 gnome-base/gnome-panel/gnome-panel-2.20.0.1.ebuild
3 >
4 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gnome-panel/gnome-panel-2.20.0.1.ebuild?rev=1.1&view=markup
5 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gnome-panel/gnome-panel-2.20.0.1.ebuild?rev=1.1&content-type=text/plain
6
7 > pkg_postinst() {
8 > local entries="/etc/gconf/schemas/panel-default-setup.entries"
9 >
10 > if [ -e "$entries" ]; then
11 > einfo "setting panel gconf defaults..."
12 > GCONF_CONFIG_SOURCE=`"${ROOT}usr/bin/gconftool-2" --get-default-source`
13 > "${ROOT}usr/bin/gconftool-2" --direct --config-source \
14 > "${GCONF_CONFIG_SOURCE}" --load="${entries}"
15
16 This bit is safe for ROOT != /, but look at the check made for whether to run it.
17
18 Thanks,
19 Donnie
20 --
21 gentoo-dev@g.o mailing list