summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-07-31 20:03:47 +0000
committerJeremy Katz <katzj@redhat.com>2001-07-31 20:03:47 +0000
commit979fde0083db00a86ab861d32606d661255d14e5 (patch)
treec611172837bec1276a91890f8bf7a256de095dbc /upgrade.py
parent991eb398dd54b3b14eeec76d9c3deded07b75d57 (diff)
downloadanaconda-979fde0083db00a86ab861d32606d661255d14e5.tar.gz
anaconda-979fde0083db00a86ab861d32606d661255d14e5.tar.xz
anaconda-979fde0083db00a86ab861d32606d661255d14e5.zip
install nautilus if gnome-core IS installed, not if it isn't
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/upgrade.py b/upgrade.py
index c26be532f..5d861946e 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -360,7 +360,7 @@ def upgradeFindPackages (intf, method, id, instPath):
recs = db.findbyname ("gnome-core")
except rpm.error:
pass
- if not recs:
+ if recs:
recs = None
try:
recs = db.findbyname ("nautilus")
@@ -368,7 +368,7 @@ def upgradeFindPackages (intf, method, id, instPath):
pass
if not recs:
log("Upgrade: gnome-core is on the system, but nautilus isn't."
- "Selecting nautilus to be installed")
+ " Selecting nautilus to be installed")
id.hdList["nautilus"].select()
del db