From 8c51c950e3762ecf2043b0685243eb490a5eb524 Mon Sep 17 00:00:00 2001 From: Mosaab Alzoubi <moceap@hotmail.com> Date: Fri, 7 Oct 2022 03:36:48 +0300 Subject: [PATCH] Fix ignoring Dnf variables To Fix: https://github.com/manatools/dnfdaemon/issues/56 https://github.com/manatools/dnfdragora/issues/208 https://github.com/timlau/yumex-dnf/issues/174 --- python/dnfdaemon/server/backend.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/dnfdaemon/server/backend.py b/python/dnfdaemon/server/backend.py index 6d9c8bf..7c36bd2 100644 --- a/python/dnfdaemon/server/backend.py +++ b/python/dnfdaemon/server/backend.py @@ -65,6 +65,7 @@ class DnfBase(dnf.Base): RELEASEVER = dnf.rpm.detect_releasever(self.conf.installroot) self.conf.substitutions['releasever'] = RELEASEVER + self.conf.substitutions.update_from_etc(self.conf.installroot) self.conf.read() # read the dnf.conf self.read_all_repos() self.progress = Progress(parent) -- GitLab