svn path=/main/trunk/; revision=7099
emerge.help.help(myaction, myopts, portage.output.havecolor)
sys.exit(0)
- if portage.wheelgid == portage.portage_gid:
- print "emerge: wheel group use is being deprecated. Please update group and passwd to"
- print " include the portage user as noted above, and then use group portage."
-
if "--debug" in myopts:
print "myaction", myaction
print "myopts", myopts
try:
wheelgid=grp.getgrnam("wheel")[2]
except KeyError:
- writemsg("portage initialization: your system doesn't have a 'wheel' group.\n")
- writemsg("Please fix this as it is a normal system requirement. 'wheel' is GID 10\n")
- writemsg("`emerge baselayout` and a config update with dispatch-conf, etc-update\n")
- writemsg("or cfg-update should remedy this problem.\n")
pass
#Discover the uid and gid of the portage user/group