summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-07-30 03:52:07 +0000
committerJeremy Katz <katzj@redhat.com>2004-07-30 03:52:07 +0000
commit0f0a1b3fb8b45298fda76b06582e2121c4e77558 (patch)
treee5a9ebffc45b99d59f43e8bccf3fe1f0b7541c9e /upgrade.py
parent6c1a9b0c30923faff3c439db854668c44a862317 (diff)
downloadanaconda-0f0a1b3fb8b45298fda76b06582e2121c4e77558.tar.gz
anaconda-0f0a1b3fb8b45298fda76b06582e2121c4e77558.tar.xz
anaconda-0f0a1b3fb8b45298fda76b06582e2121c4e77558.zip
swap order of install/upgrade options, default to install with RHEL
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/upgrade.py b/upgrade.py
index f3824d0cc..4ec95a2c5 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -48,7 +48,8 @@ def findRootParts(intf, id, dispatch, dir, chroot):
if id.rootParts is not None and len(id.rootParts) > 0:
dispatch.skipStep("findinstall", skip = 0)
- dispatch.skipStep("installtype", skip = 1)
+ if productName.find("Red Hat Enterprise Linux") == -1:
+ dispatch.skipStep("installtype", skip = 1)
else:
dispatch.skipStep("findinstall", skip = 1)
dispatch.skipStep("installtype", skip = 0)