richardphibel / rpms / libdnf

Forked from rpms/libdnf 2 years ago
Clone
Blob Blame History Raw
From 9309e92332241ff1113433057c969cebf127734e Mon Sep 17 00:00:00 2001
From: Jaroslav Mracek <jmracek@redhat.com>
Date: Mon, 4 Feb 2019 16:11:18 +0100
Subject: [PATCH] Add best as default behavior (RhBug:1670776,1671683)

---
 libdnf/conf/ConfigMain.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libdnf/conf/ConfigMain.cpp b/libdnf/conf/ConfigMain.cpp
index 281d928..6964f3e 100644
--- a/libdnf/conf/ConfigMain.cpp
+++ b/libdnf/conf/ConfigMain.cpp
@@ -284,7 +284,7 @@ class ConfigMain::Impl {
     OptionEnum<std::string> multilib_policy{"best", {"best", "all"}}; // :api
     OptionBinding multilibPolicyBinding{owner, multilib_policy, "multilib_policy"};
 
-    OptionBool best{false}; // :api
+    OptionBool best{true}; // :api
     OptionBinding bestBinding{owner, best, "best"};
 
     OptionBool install_weak_deps{true};
--
libgit2 0.27.7