Gentoo Archives: gentoo-dev

From: Ryan Hill <dirtyepic@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: gentoo-x86 commit in dev-db/firebird: ChangeLog metadata.xml firebird-2.0.3.12981.0-r1.ebuild firebird-2.0.1.12855.0-r4.ebuild firebird-2.0.1.12855.0-r5.ebuild
Date: Sat, 22 Sep 2007 20:26:01
Message-Id: fd3t30$6cm$1@sea.gmane.org
In Reply to: Re: [gentoo-dev] Re: gentoo-x86 commit in dev-db/firebird: ChangeLog metadata.xml firebird-2.0.3.12981.0-r1.ebuild firebird-2.0.1.12855.0-r4.ebuild firebird-2.0.1.12855.0-r5.ebuild by "William L. Thomson Jr."
1 William L. Thomson Jr. wrote:
2 > On Sat, 2007-09-22 at 10:29 +0200, Torsten Veller wrote:
3 >>> pkg_postinst() {
4 >>> # Hack to fix ownership/perms
5 >>> chown -fR firebird:firebird /etc/firebird /usr/share/firebird
6 >>> chmod 750 /etc/firebird
7 >>>
8 >> ROOT!=/ ?
9 >>
10 >>> pkg_config() {
11 >>> cd /usr/share/firebird
12 >> same
13 >
14 > What should I be using instead? I see what your talking about wrt to
15 > chroots and etc. Not even sure that's relevant or needed anymore. Was to
16 > correct some past issues and hopefully can be removed ASAP.
17
18 Just replace the root / with ${ROOT}. ie:
19
20 pkg_postinst() {
21 # Hack to fix ownership/perms
22 chown -fR firebird:firebird "${ROOT}"etc/firebird "${ROOT}"usr/share/firebird
23 chmod 750 "${ROOT}"etc/firebird
24
25 pkg_config() {
26 cd "${ROOT}"usr/share/firebird
27
28
29
30 --
31 fonts / wxWindows / gcc-porting / treecleaners
32 9B81 6C9F E791 83BB 3AB3 5B2D E625 A073 8379 37E8 (0x837937E8)
33
34 --
35 gentoo-dev@g.o mailing list