summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--yuminstall.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/yuminstall.py b/yuminstall.py
index 258237263..77b736065 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -211,10 +211,17 @@ class AnacondaYum(yum.YumBase):
return (downloadpkgs, totalSize, totalFiles)
+ def setColor(self):
+ if (rpmUtils.arch.canonArch.startswith("ppc64") or
+ rpmUtils.arch.canonArch in ("s390x", "sparc64", "x86_64", "ia64")):
+ self.ts.ts.setColor(3)
+
def run(self, instLog, cb):
self.initActionTs()
+ self.setColor()
self.populateTs(keepold=0)
self.ts.check()
+ self.ts.order()
# set log fd. FIXME: this is ugly. see changelog entry from 2005-09-13
self.ts.ts.scriptFd = instLog.fileno()