From 8d7b5305c226f9c4633bd96660027ee956d4af2a Mon Sep 17 00:00:00 2001 From: Joseph Marrero Corchado Date: Fri, 19 Jul 2024 22:36:13 -0400 Subject: [PATCH] Update dnf/util.py Co-authored-by: Jonathan Lebon --- dnf/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnf/util.py b/dnf/util.py index 66f0250046..3a1090bd64 100644 --- a/dnf/util.py +++ b/dnf/util.py @@ -661,7 +661,7 @@ def _bootc_doc_url(): try: with open('/etc/os-release', 'r') as f: for line in f: - if line.startswith('BOOTC_HOST_DOC='): + if line.startswith('DNF_DOCUMENTATION_URL='): return line.split('=')[1].strip().strip('"') except Exception as e: return None