diff options
author | Erik Troan <ewt@redhat.com> | 2000-07-25 16:57:28 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-07-25 16:57:28 +0000 |
commit | 7ec6622f1da9d8a600c9363eb136c177565dc1b9 (patch) | |
tree | 6884232c7091d7e5e5a3e227f2f480f122c0a85b /todo.py | |
parent | 61fb65210a76d977a7c47ffc3e53655d10d74f04 (diff) | |
download | anaconda-7ec6622f1da9d8a600c9363eb136c177565dc1b9.tar.gz anaconda-7ec6622f1da9d8a600c9363eb136c177565dc1b9.tar.xz anaconda-7ec6622f1da9d8a600c9363eb136c177565dc1b9.zip |
1) reap syslogd
2) don't force gnome upgrades
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -310,6 +310,7 @@ class InstSyslog: def __del__ (self): os.kill (self.pid, 15) + os.wait (self.pid) class ToDo: def __init__(self, intf, method, rootPath, setupFilesystems = 1, @@ -951,22 +952,24 @@ class ToDo: package.selected = 0 hasX = 0 - hasgmc = 0 + hasFileManager = 0 # turn on the packages in the upgrade set for package in packages: self.hdList[package[rpm.RPMTAG_NAME]].selected = 1 if package[rpm.RPMTAG_NAME] == "XFree86": hasX = 1 if package[rpm.RPMTAG_NAME] == "gmc": - hasgmc = 1 + hasFileManager = 1 + if package[rpm.RPMTAG_NAME] == "kdebase": + hasFileManager = 1 # open up the database to check dependencies db = rpm.opendb (0, self.instPath) # if we have X but not gmc, we need to turn on GNOME. We only # want to turn on packages we don't have installed already, though. - if hasX and not hasgmc: - log ("Has X but not GNOME") + if hasX and not hasFileManager: + log ("Has X but no desktop -- Installing GNOME") for package in self.comps['GNOME'].pkgs: try: rec = db.findbyname (package.name) |