projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4291dc0
)
Allow `emerge --metadata` and `emerge --regen` for users in the portage group(bug...
author
Zac Medico
<zmedico@gentoo.org>
Sat, 13 May 2006 22:19:58 +0000
(22:19 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 13 May 2006 22:19:58 +0000
(22:19 -0000)
svn path=/main/trunk/; revision=3346
bin/emerge
patch
|
blob
|
history
diff --git
a/bin/emerge
b/bin/emerge
index 4ff7ab5797c12a3b281791fb109e2da6a30f7fb6..c5746aa589d14a444b67669004d6b81f75ccaaa2 100755
(executable)
--- 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: