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/ |