diff options
author | Sergiy Borodych <Sergiy.Borodych@gmail.com> | 2016-04-27 16:01:40 +0300 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-04-30 18:56:12 +0200 |
commit | 0ebe69b5a4f45573dfb56bbd90c3bf4be8521db1 (patch) | |
tree | 7337c20459066f6827bd8ca48de3df9dd4734ada /app-portage/g-cpan | |
parent | app-portage/g-cpan: remove keepdir on "/var/tmp" (#465834) (diff) | |
download | gentoo-0ebe69b5a4f45573dfb56bbd90c3bf4be8521db1.tar.gz gentoo-0ebe69b5a4f45573dfb56bbd90c3bf4be8521db1.tar.bz2 gentoo-0ebe69b5a4f45573dfb56bbd90c3bf4be8521db1.zip |
app-portage/g-cpan: change to create dirs for portage user/group
this is allow to use g-cpan users besides root more easely,
just add users into portage group and do not fix permissions every install
Diffstat (limited to 'app-portage/g-cpan')
-rw-r--r-- | app-portage/g-cpan/g-cpan-9999.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app-portage/g-cpan/g-cpan-9999.ebuild b/app-portage/g-cpan/g-cpan-9999.ebuild index 1d1c113c9dd9..1ff7291fd259 100644 --- a/app-portage/g-cpan/g-cpan-9999.ebuild +++ b/app-portage/g-cpan/g-cpan-9999.ebuild @@ -32,15 +32,15 @@ RDEPEND="${DEPEND} src_install() { perl-module_src_install - diropts "-m0755" + diropts -m0775 -o portage -g portage dodir "/var/tmp/g-cpan" dodir "/var/log/g-cpan" keepdir "/var/log/g-cpan" } pkg_postinst() { - elog "You may wish to adjust the permissions on /var/tmp/g-cpan" - elog "if you have users besides root expecting to use g-cpan." + elog "If you want to use g-cpan besides root you may wish to" + elog " adjust the permissions on /var/tmp/g-cpan or add users into portage group." elog "Please note that some CPAN packages need additional manual" elog "parameters or tweaking, due to bugs in their build systems." } |