From 36aadd161281334c53b39ae028afbb477e0228ec Mon Sep 17 00:00:00 2001 From: Jack Neely Date: Fri, 10 Jun 2011 13:40:41 -0400 Subject: Make -q turn off package verification in YUMng This make the YUMng verification behavior like the APT tool. Before hand we just turned off package checksums which only worked with very new versions of Yum. --- src/lib/Client/Tools/YUMng.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/Client/Tools/YUMng.py b/src/lib/Client/Tools/YUMng.py index 34d463941..324307f7f 100644 --- a/src/lib/Client/Tools/YUMng.py +++ b/src/lib/Client/Tools/YUMng.py @@ -485,6 +485,9 @@ class YUMng(Bcfg2.Client.Tools.PkgTool): qtext_versions.append("U(%s)" % str(POs[0])) continue + if self.setup.get('quick', False): + # Passed -q on the command line + continue if not (pkg_verify and \ inst.get('pkg_verify', 'true').lower() == 'true'): continue -- cgit v1.2.3-1-g7c22