From 46c0e4116ed183c0c16c14b61be18661171586a6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 13 May 2006 22:19:58 +0000 Subject: [PATCH] Allow `emerge --metadata` and `emerge --regen` for users in the portage group(bug #133157). svn path=/main/trunk/; revision=3346 --- bin/emerge | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/emerge b/bin/emerge index 4ff7ab579..c5746aa58 100755 --- a/bin/emerge +++ b/bin/emerge @@ -631,7 +631,8 @@ if portage.secpass < 2: myaction not in ("search","info"): if portage.secpass >= 1: if "--fetchonly" not in myopts and \ - "--fetch-all-uri" not in myopts: + "--fetch-all-uri" not in myopts and \ + myaction not in ("metadata", "regen"): print "emerge: root access required." sys.exit(1) else: -- 2.26.2