summaryrefslogtreecommitdiffstats
path: root/installmethod.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-10-14 19:36:32 +0000
committerJeremy Katz <katzj@redhat.com>2003-10-14 19:36:32 +0000
commit60a8f9866e39b0eb0f5f0e15057f36679d007522 (patch)
treee86d39f59a06ada627d57addf02b31810730853d /installmethod.py
parent6af42d3070c2528db2c3fb47a3613e150ef1c449 (diff)
downloadanaconda-60a8f9866e39b0eb0f5f0e15057f36679d007522.tar.gz
anaconda-60a8f9866e39b0eb0f5f0e15057f36679d007522.tar.xz
anaconda-60a8f9866e39b0eb0f5f0e15057f36679d007522.zip
read product path from the build stamp if possible, default to RedHat if not
available. basically notting's patch with some fixes and genhdlist handled
Diffstat (limited to 'installmethod.py')
-rw-r--r--installmethod.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/installmethod.py b/installmethod.py
index 354ef1eb9..f55343c89 100644
--- a/installmethod.py
+++ b/installmethod.py
@@ -30,8 +30,8 @@ class InstallMethod:
rc = None
tryloc = ["/tmp/updates"]
if treebase is not None:
- tryloc.append(treebase + "/RHupdates")
- tryloc.append(treebase + "/RedHat/base")
+ tryloc.append("%s/RHupdates" %(treebase,))
+ tryloc.append("%s/%s/base" % (treebase, productPath))
for pre in tryloc:
tmpname = pre + "/" + file