Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o, dang@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in gnome-base/gconf: ChangeLog gconf-2.20.0.ebuild
Date: Wed, 26 Sep 2007 08:03:29
Message-Id: 20070926075159.GI22279@supernova
1 On 18:29 Tue 25 Sep , Daniel Gryniewicz (dang) wrote:
2 > dang 07/09/25 18:29:56
3 >
4 > Modified: ChangeLog
5 > Added: gconf-2.20.0.ebuild
6 > Log:
7 > New series for Gnome 2.20
8 > (Portage version: 2.1.3.9)
9
10 > 1.1 gnome-base/gconf/gconf-2.20.0.ebuild
11 >
12 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/gconf-2.20.0.ebuild?rev=1.1&view=markup
13 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/gconf-2.20.0.ebuild?rev=1.1&content-type=text/plain
14
15 > pkg_postinst() {
16 > kill_gconf
17 >
18 > #change the permissions to avoid some gconf bugs
19 > einfo "changing permissions for gconf dirs"
20 > find /etc/gconf/ -type d -exec chmod ugo+rx "{}" \;
21 >
22 > einfo "changing permissions for gconf files"
23 > find /etc/gconf/ -type f -exec chmod ugo+r "{}" \;
24 > }
25 >
26 > kill_gconf() {
27 > # this function will kill all running gconfd that could be causing troubles
28 > if [ -x /usr/bin/gconftool ]
29 > then
30 > /usr/bin/gconftool --shutdown
31 > fi
32 > if [ -x /usr/bin/gconftool-1 ]
33 > then
34 > /usr/bin/gconftool-1 --shutdown
35 > fi
36 >
37 > # and for gconf 2
38 > if [ -x /usr/bin/gconftool-2 ]
39 > then
40 > /usr/bin/gconftool-2 --shutdown
41 > fi
42 > return 0
43 > }
44
45 This stuff is broken with $ROOT.
46
47 Thanks,
48 Donnie
49 --
50 gentoo-dev@g.o mailing list