summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2013-08-12 17:21:23 +0000
committerZac Medico <zmedico@gentoo.org>2013-08-12 17:21:23 +0000
commitfdc48771a6cfd44cb52544b2b4cd9d297f30f00c (patch)
treef86b60a661c072241625f32b6717a889a41ab9bb /sys-apps
parentInitial import (diff)
downloadgentoo-2-fdc48771a6cfd44cb52544b2b4cd9d297f30f00c.tar.gz
gentoo-2-fdc48771a6cfd44cb52544b2b4cd9d297f30f00c.tar.bz2
gentoo-2-fdc48771a6cfd44cb52544b2b4cd9d297f30f00c.zip
Use find -mindepth 1 for userpriv DISTDIR update.
(Portage version: 2.2.0_alpha196/cvs/Linux i686, signed Manifest commit with key 0xFDE8EF85AE5719A3)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/portage/ChangeLog6
-rw-r--r--sys-apps/portage/portage-2.1.13.7.ebuild4
-rw-r--r--sys-apps/portage/portage-2.2.0_alpha196.ebuild4
3 files changed, 9 insertions, 5 deletions
diff --git a/sys-apps/portage/ChangeLog b/sys-apps/portage/ChangeLog
index af4a50a2d678..2cdce728dc73 100644
--- a/sys-apps/portage/ChangeLog
+++ b/sys-apps/portage/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/portage
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.1340 2013/08/08 18:50:17 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.1341 2013/08/12 17:21:23 zmedico Exp $
+
+ 12 Aug 2013; Zac Medico <zmedico@gentoo.org> portage-2.1.13.7.ebuild,
+ portage-2.2.0_alpha196.ebuild:
+ Use find -mindepth 1 for userpriv DISTDIR update.
*portage-2.2.0_alpha196 (08 Aug 2013)
diff --git a/sys-apps/portage/portage-2.1.13.7.ebuild b/sys-apps/portage/portage-2.1.13.7.ebuild
index d21515c7c0f7..8d7838b445ed 100644
--- a/sys-apps/portage/portage-2.1.13.7.ebuild
+++ b/sys-apps/portage/portage-2.1.13.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.13.7.ebuild,v 1.1 2013/08/08 18:48:26 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.13.7.ebuild,v 1.2 2013/08/12 17:21:23 zmedico Exp $
# Require EAPI 2 since we now require at least python-2.6 (for python 3
# syntax support) which also requires EAPI 2.
@@ -544,7 +544,7 @@ pkg_postinst() {
local ownership=$(get_ownership "${distdir}")
if [[ ${ownership#*:} == portage ]] ; then
einfo "Adjusting DISTDIR permissions for userpriv"
- find "${distdir}" -maxdepth 1 -type d -uid 0 \
+ find "${distdir}" -mindepth 1 -maxdepth 1 -type d -uid 0 \
-exec chown -R portage:portage {} +
fi
fi
diff --git a/sys-apps/portage/portage-2.2.0_alpha196.ebuild b/sys-apps/portage/portage-2.2.0_alpha196.ebuild
index 7e8e680541dc..ee005581164a 100644
--- a/sys-apps/portage/portage-2.2.0_alpha196.ebuild
+++ b/sys-apps/portage/portage-2.2.0_alpha196.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha196.ebuild,v 1.1 2013/08/08 18:50:17 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha196.ebuild,v 1.2 2013/08/12 17:21:23 zmedico Exp $
# Require EAPI 2 since we now require at least python-2.6 (for python 3
# syntax support) which also requires EAPI 2.
@@ -567,7 +567,7 @@ pkg_postinst() {
local ownership=$(get_ownership "${distdir}")
if [[ ${ownership#*:} == portage ]] ; then
einfo "Adjusting DISTDIR permissions for userpriv"
- find "${distdir}" -maxdepth 1 -type d -uid 0 \
+ find "${distdir}" -mindepth 1 -maxdepth 1 -type d -uid 0 \
-exec chown -R portage:portage {} +
fi
fi