summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2001-07-01 05:03:43 +0000
committerDaniel Robbins <drobbins@gentoo.org>2001-07-01 05:03:43 +0000
commit5884de56100ab1b107c62fcec628a53032070732 (patch)
tree90152fba7bf7b7ede36c18daa7b08524fa9d6ba2 /sys-apps
parent1.0_rc5 Web site updates (diff)
downloadgentoo-2-5884de56100ab1b107c62fcec628a53032070732.tar.gz
gentoo-2-5884de56100ab1b107c62fcec628a53032070732.tar.bz2
gentoo-2-5884de56100ab1b107c62fcec628a53032070732.zip
/etc/env.d is no longer assumed to exist
Diffstat (limited to 'sys-apps')
-rwxr-xr-xsys-apps/portage/files/1.5/pym/portage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-apps/portage/files/1.5/pym/portage.py b/sys-apps/portage/files/1.5/pym/portage.py
index 45714abdbbea..b30472538098 100755
--- a/sys-apps/portage/files/1.5/pym/portage.py
+++ b/sys-apps/portage/files/1.5/pym/portage.py
@@ -148,6 +148,8 @@ endversion={"pre":-2,"p":0,"alpha":-4,"beta":-3,"rc":-1}
def env_update():
global root
+ if not os.path.exists(root+"etc/env.d"):
+ os.makedirs(root+"etc/env.d")
fns=os.listdir(root+"etc/env.d")
fns.sort()
pos=0