summaryrefslogtreecommitdiffstats
path: root/installmethod.py
diff options
context:
space:
mode:
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