diff options
author | Ulrich Müller <ulm@gentoo.org> | 2012-07-31 16:30:56 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2012-07-31 16:30:56 +0000 |
commit | 9e57f51ec08761942ab2b6c5de3bf6e50f376ed4 (patch) | |
tree | 54a3225f000891e0107845bc1d1d3372853b97cb /app-admin/eselect | |
parent | Add missing files to FreeBSD 9.1 Prefix profile (diff) | |
download | gentoo-2-9e57f51ec08761942ab2b6c5de3bf6e50f376ed4.tar.gz gentoo-2-9e57f51ec08761942ab2b6c5de3bf6e50f376ed4.tar.bz2 gentoo-2-9e57f51ec08761942ab2b6c5de3bf6e50f376ed4.zip |
Don't try to change group on prefix, bug 428752.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/eselect')
-rw-r--r-- | app-admin/eselect/ChangeLog | 5 | ||||
-rw-r--r-- | app-admin/eselect/eselect-1.3.1.ebuild | 14 |
2 files changed, 13 insertions, 6 deletions
diff --git a/app-admin/eselect/ChangeLog b/app-admin/eselect/ChangeLog index f72bc1653262..1b515feb0430 100644 --- a/app-admin/eselect/ChangeLog +++ b/app-admin/eselect/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-admin/eselect # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.206 2012/07/15 17:17:02 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.207 2012/07/31 16:30:56 ulm Exp $ + + 31 Jul 2012; Ulrich Müller <ulm@gentoo.org> eselect-1.3.1.ebuild: + Don't try to change group on prefix, bug 428752. 15 Jul 2012; Raúl Porcel <armin76@gentoo.org> eselect-1.3.1.ebuild: alpha/ia64/m68k/s390/sh/sparc stable wrt #420091 diff --git a/app-admin/eselect/eselect-1.3.1.ebuild b/app-admin/eselect/eselect-1.3.1.ebuild index 446396c091cd..dc00e87b3b4e 100644 --- a/app-admin/eselect/eselect-1.3.1.ebuild +++ b/app-admin/eselect/eselect-1.3.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.3.1.ebuild,v 1.10 2012/07/15 17:17:02 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.3.1.ebuild,v 1.11 2012/07/31 16:30:56 ulm Exp $ EAPI=3 @@ -52,13 +52,17 @@ src_install() { # needed by news module keepdir /var/lib/gentoo/news - fowners root:portage /var/lib/gentoo/news || die - fperms g+w /var/lib/gentoo/news || die + if ! use prefix; then + fowners root:portage /var/lib/gentoo/news || die + fperms g+w /var/lib/gentoo/news || die + fi } pkg_postinst() { # fowners in src_install doesn't work for the portage group: # merging changes the group back to root - chgrp portage "${EROOT}/var/lib/gentoo/news" \ - && chmod g+w "${EROOT}/var/lib/gentoo/news" + if ! use prefix; then + chgrp portage "${EROOT}/var/lib/gentoo/news" \ + && chmod g+w "${EROOT}/var/lib/gentoo/news" + fi } |