diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-08-28 04:52:16 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-08-28 04:52:16 +0000 |
commit | 17523890708a212c551b884ce4d826ac8907d690 (patch) | |
tree | 3436ac846ed9d09ed02d2cd76ff8dc4721c6f590 /packages.py | |
parent | 2ac74139c5819865253556e77922e29c57ddb6dd (diff) | |
download | anaconda-17523890708a212c551b884ce4d826ac8907d690.tar.gz anaconda-17523890708a212c551b884ce4d826ac8907d690.tar.xz anaconda-17523890708a212c551b884ce4d826ac8907d690.zip |
so we can now how many packages are/were being installed/upgraded from the install.log/upgrade.log
Diffstat (limited to 'packages.py')
-rw-r--r-- | packages.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages.py b/packages.py index 35cd457f4..e600de7dd 100644 --- a/packages.py +++ b/packages.py @@ -525,6 +525,11 @@ def doInstall(method, id, intf, instPath): pass syslog.start (instPath, syslogname) + if upgrade: + instLog.write("Upgrading %s packages\n\n" % (i)) + else: + instLog.write("Installing %s packages\n\n" % (i)) + ts.scriptFd = instLog.fileno () # the transaction set dup()s the file descriptor and will close the # dup'd when we go out of scope |