From: Zac Medico Date: Sat, 13 May 2006 22:19:58 +0000 (-0000) Subject: Allow `emerge --metadata` and `emerge --regen` for users in the portage group(bug... X-Git-Tag: v2.1_rc2~37 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=46c0e4116ed183c0c16c14b61be18661171586a6;p=portage.git Allow `emerge --metadata` and `emerge --regen` for users in the portage group(bug #133157). svn path=/main/trunk/; revision=3346 --- 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: