diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-05-20 12:35:38 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-05-20 12:35:38 +0000 |
commit | dd8645c7132fceeaaee446f113b2ac4a8ae17a7d (patch) | |
tree | aa6673c911bb40fa4cc595f98dfa616992ebac45 | |
parent | Redigest. (diff) | |
download | gentoo-2-dd8645c7132fceeaaee446f113b2ac4a8ae17a7d.tar.gz gentoo-2-dd8645c7132fceeaaee446f113b2ac4a8ae17a7d.tar.bz2 gentoo-2-dd8645c7132fceeaaee446f113b2ac4a8ae17a7d.zip |
Set proper group and permissions for news directory.
(Portage version: 2.2_rc33/cvs/Linux i686)
-rw-r--r-- | app-admin/eselect/ChangeLog | 4 | ||||
-rw-r--r-- | app-admin/eselect/eselect-1.1_rc2.ebuild | 7 | ||||
-rw-r--r-- | app-admin/eselect/eselect-9999.ebuild | 7 |
3 files changed, 14 insertions, 4 deletions
diff --git a/app-admin/eselect/ChangeLog b/app-admin/eselect/ChangeLog index e4ddfeb4a8e4..992b8f1bf60e 100644 --- a/app-admin/eselect/ChangeLog +++ b/app-admin/eselect/ChangeLog @@ -1,10 +1,10 @@ # ChangeLog for app-admin/eselect # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.93 2009/05/20 05:43:01 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.94 2009/05/20 12:35:38 ulm Exp $ 20 May 2009; Ulrich Mueller <ulm@gentoo.org> eselect-1.1_rc2.ebuild, eselect-9999.ebuild: - Create directory for news-tng module. + Create directory for news-tng module. Set proper group and permissions. *eselect-1.1_rc2 (19 May 2009) diff --git a/app-admin/eselect/eselect-1.1_rc2.ebuild b/app-admin/eselect/eselect-1.1_rc2.ebuild index 8a6833ef7b62..7d5f268c8e00 100644 --- a/app-admin/eselect/eselect-1.1_rc2.ebuild +++ b/app-admin/eselect/eselect-1.1_rc2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.1_rc2.ebuild,v 1.2 2009/05/20 05:43:01 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.1_rc2.ebuild,v 1.3 2009/05/20 12:35:38 ulm Exp $ DESCRIPTION="Gentoo's multi-purpose configuration and management tool" HOMEPAGE="http://www.gentoo.org/proj/en/eselect/" @@ -55,6 +55,11 @@ src_install() { } pkg_postinst() { + # fowners in src_install doesn't work for the portage group: + # merging changes the group back to root + chgrp portage "${ROOT}/var/lib/gentoo/news" \ + && chmod g+w "${ROOT}/var/lib/gentoo/news" + if use bash-completion ; then elog "In case you have not yet enabled command-line completion" elog "for eselect, you can run:" diff --git a/app-admin/eselect/eselect-9999.ebuild b/app-admin/eselect/eselect-9999.ebuild index c8c1f6a11a72..5f314c62d97d 100644 --- a/app-admin/eselect/eselect-9999.ebuild +++ b/app-admin/eselect/eselect-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-9999.ebuild,v 1.4 2009/05/20 05:43:01 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-9999.ebuild,v 1.5 2009/05/20 12:35:38 ulm Exp $ ESVN_REPO_URI="svn://anonsvn.gentoo.org/eselect/trunk" ESVN_BOOTSTRAP="autogen.bash" @@ -59,6 +59,11 @@ src_install() { } pkg_postinst() { + # fowners in src_install doesn't work for the portage group: + # merging changes the group back to root + chgrp portage "${ROOT}/var/lib/gentoo/news" \ + && chmod g+w "${ROOT}/var/lib/gentoo/news" + if use bash-completion ; then elog "In case you have not yet enabled command-line completion" elog "for eselect, you can run:" |