summaryrefslogtreecommitdiffstats
path: root/installmethod.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-12-04 20:36:07 -0500
committerChris Lumens <clumens@redhat.com>2007-12-05 10:30:46 -0500
commitf9d3c5b6fae12662537c338e48570517fa2f6c3d (patch)
treea71109c7e67f351b5c9231aa3fb82aacc3001f5b /installmethod.py
parent2f00db0199d94709e9e84f93c54f86824d4a807f (diff)
downloadanaconda-f9d3c5b6fae12662537c338e48570517fa2f6c3d.tar.gz
anaconda-f9d3c5b6fae12662537c338e48570517fa2f6c3d.tar.xz
anaconda-f9d3c5b6fae12662537c338e48570517fa2f6c3d.zip
methodstr cleanups.
Don't use /mnt/source2 anymore. /mnt/isodir is for image installs to mount whatever contains the images, and /mnt/source is always the source mount point. Also don't use methodstr where we don't have to.
Diffstat (limited to 'installmethod.py')
-rw-r--r--installmethod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/installmethod.py b/installmethod.py
index c5ea8716e..f47e6fa9d 100644
--- a/installmethod.py
+++ b/installmethod.py
@@ -25,7 +25,7 @@ def doMethodComplete(anaconda):
except Exception:
pass
- if anaconda.methodstr.startswith("cdrom://"):
+ if anaconda.mediaDevice:
try:
shutil.copyfile("%s/media.repo" % anaconda.backend.ayum.tree,
"%s/etc/yum.repos.d/%s-install-media.repo" %(anaconda.rootPath, productName))