File dnf5-Switch-default-reposdir-to-etc-dnf-repos.d.patch of Package dnf5
From f64d95ae3b575adbf5f64578b4e5c59267b968ce Mon Sep 17 00:00:00 2001
From: Neal Gompa <ngompa@opensuse.org>
Date: Wed, 19 Jul 2023 08:04:17 -0400
Subject: [PATCH] Switch default reposdir to /etc/dnf/repos.d
---
include/libdnf5/conf/const.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/libdnf5/conf/const.hpp b/include/libdnf5/conf/const.hpp
index d7561058..d7c0af7b 100644
--- a/include/libdnf5/conf/const.hpp
+++ b/include/libdnf5/conf/const.hpp
@@ -39,7 +39,7 @@ constexpr const char * VERSIONLOCK_CONF_FILENAME = "/etc/dnf/versionlock.toml";
constexpr const char * PLUGINS_CONF_DIR = "/etc/dnf/libdnf5-plugins";
const std::vector<std::string> REPOSITORY_CONF_DIRS{
- "/etc/yum.repos.d", "/etc/distro.repos.d", "/usr/share/dnf5/repos.d"};
+ "/etc/dnf/repos.d", "/etc/yum.repos.d", "/etc/distro.repos.d", "/usr/share/dnf5/repos.d"};
constexpr const char * REPOS_OVERRIDE_DIR = "/etc/dnf/repos.override.d";
constexpr const char * TRANSACTION_LOCK_FILEPATH = "/run/dnf/rpmtransaction.lock";
--
2.45.1