summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-08-28 04:52:16 +0000
committerJeremy Katz <katzj@redhat.com>2001-08-28 04:52:16 +0000
commit17523890708a212c551b884ce4d826ac8907d690 (patch)
tree3436ac846ed9d09ed02d2cd76ff8dc4721c6f590 /packages.py
parent2ac74139c5819865253556e77922e29c57ddb6dd (diff)
downloadanaconda-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.py5
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