On Mon, Nov 12, 2007 at 02:09:33PM -0800, Donnie Berkholz wrote:
> On 21:47 Mon 12 Nov , Michael Hanselmann (hansmi) wrote:
> > pkg_postinst() {
> > chown -R inspircd:inspircd "${ROOT}"/etc/${PN}
> > chmod 700 "${ROOT}"/etc/${PN}
> > chown -R inspircd:inspircd "${ROOT}"/var/log/${PN}
> > chmod 750 "${ROOT}"/var/log/${PN}
> > chown -R inspircd:inspircd "${ROOT}"/usr/$(get_libdir)/${PN}
> > chmod -R 755 "${ROOT}"/usr/$(get_libdir)/${PN}
> > chmod -R 755 "${ROOT}"/usr/bin/inspircd
> > }
> Any particular reason this stuff doesn't run in src_install() on the
> files while they're in ${D}?
Honestly, I don't know. The ebuild was contributed quite some time ago.
Do you think it should be done in src_install instead?
Thanks,
Michael
--
http://hansmi.ch/
pgpab7Tbm3JOP.pgp
Description: PGP signature
