Fix zyppers installRecommends option not following the zypp.conf setting (bnc #539579).
authorMichael Andres <ma@suse.de>
Wed, 16 Sep 2009 14:19:32 +0000 (16:19 +0200)
committerMichael Andres <ma@suse.de>
Wed, 16 Sep 2009 14:19:32 +0000 (16:19 +0200)
package/zypper.changes
src/Config.cc

index 82a3feb..346d6a8 100644 (file)
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Wed Sep 16 16:13:47 CEST 2009 - ma@suse.de
+
+- Fix zyppers installRecommends option not following the zypp.conf
+  setting. (bnc #539579)
+
+-------------------------------------------------------------------
 Thu Sep 10 12:57:44 CEST 2009 - jkupec@suse.cz
 
 - Fixed wrong table column width computation causing excessive
index ad25dce..c216c5c 100644 (file)
@@ -134,7 +134,7 @@ void Config::read(const string & file)
 
     s = augeas.getOption(ConfigOption::SOLVER_INSTALL_RECOMMENDS.asString());
     if (s.empty())
-      solver_installRecommends = ZConfig::instance().solver_onlyRequires();
+      solver_installRecommends = !ZConfig::instance().solver_onlyRequires();
     else
       solver_installRecommends = str::strToBool(s, true);