summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-01-30 17:04:28 -0500
committerChris Lumens <clumens@redhat.com>2008-01-30 17:28:16 -0500
commite603019ac06e20a4d473f8dfb99c0c1ecc77e93f (patch)
tree3810d645b7ac79775451b08dd8c2c6aabd404d7c /anaconda
parentd3d83e1b10264a357279752f5c9718751050f2fa (diff)
downloadanaconda-e603019ac06e20a4d473f8dfb99c0c1ecc77e93f.tar.gz
anaconda-e603019ac06e20a4d473f8dfb99c0c1ecc77e93f.tar.xz
anaconda-e603019ac06e20a4d473f8dfb99c0c1ecc77e93f.zip
Handle putting updates ahead of anaconda in the updates= case too.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda4
1 files changed, 2 insertions, 2 deletions
diff --git a/anaconda b/anaconda
index e641ce9bb..1bbdf2593 100755
--- a/anaconda
+++ b/anaconda
@@ -329,8 +329,8 @@ def setupPythonPath():
sys.path.insert(0, 'iw')
else:
haveUpdates = False
- for ndx in range(0, len(sys.path) - 1):
- if sys.path[ndx].endswith('RHupdates'):
+ for ndx in range(len(sys.path)-1, -1, -1):
+ if sys.path[ndx].endswith('updates'):
haveUpdates = True
break