From: Fabian Groffen Date: Fri, 26 Mar 2010 08:31:06 +0000 (+0100) Subject: Now we use the new PORTAGE_USERNAME and PORTAGE_GROUPNAME, let them be initialised... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7c75bfeaac8bbd2aa3de419d4c2df21398d6a397;p=portage.git Now we use the new PORTAGE_USERNAME and PORTAGE_GROUPNAME, let them be initialised by our Prefix portageuser and portagegroup --- diff --git a/pym/portage/const.py b/pym/portage/const.py index 82953ce5b..472c63f98 100644 --- a/pym/portage/const.py +++ b/pym/portage/const.py @@ -78,8 +78,8 @@ BASH_BINARY = PORTAGE_BASH MOVE_BINARY = PORTAGE_MV PRELINK_BINARY = EPREFIX + "/usr/sbin/prelink" -PORTAGE_GROUPNAME = os.environ.get("PORTAGE_GROUPNAME", 'portage') -PORTAGE_USERNAME = os.environ.get("PORTAGE_USERNAME", 'portage') +PORTAGE_GROUPNAME = os.environ.get("PORTAGE_GROUPNAME", portagegroup) +PORTAGE_USERNAME = os.environ.get("PORTAGE_USERNAME", portageuser) INVALID_ENV_FILE = "/etc/spork/is/not/valid/profile.env" REPO_NAME_FILE = "repo_name"