Gentoo Archives: gentoo-dev

From: Michael Hanselmann <hansmi@g.o>
To: Donnie Berkholz <dberkholz@g.o>
Cc: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-irc/inspircd: ChangeLog inspircd-1.1.14.ebuild
Date: Mon, 12 Nov 2007 23:06:19
Message-Id: 20071112230318.GB28561@hansmi.ch
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-irc/inspircd: ChangeLog inspircd-1.1.14.ebuild by Donnie Berkholz
1 On Mon, Nov 12, 2007 at 02:09:33PM -0800, Donnie Berkholz wrote:
2 > On 21:47 Mon 12 Nov , Michael Hanselmann (hansmi) wrote:
3 > > pkg_postinst() {
4 > > chown -R inspircd:inspircd "${ROOT}"/etc/${PN}
5 > > chmod 700 "${ROOT}"/etc/${PN}
6
7 > > chown -R inspircd:inspircd "${ROOT}"/var/log/${PN}
8 > > chmod 750 "${ROOT}"/var/log/${PN}
9
10 > > chown -R inspircd:inspircd "${ROOT}"/usr/$(get_libdir)/${PN}
11 > > chmod -R 755 "${ROOT}"/usr/$(get_libdir)/${PN}
12
13 > > chmod -R 755 "${ROOT}"/usr/bin/inspircd
14 > > }
15
16 > Any particular reason this stuff doesn't run in src_install() on the
17 > files while they're in ${D}?
18
19 Honestly, I don't know. The ebuild was contributed quite some time ago.
20 Do you think it should be done in src_install instead?
21
22 Thanks,
23 Michael
24
25 --
26 http://hansmi.ch/

Replies