Skip to content

Commit

Permalink
Update dnf/util.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Lebon <jonathan@jlebon.com>
  • Loading branch information
jmarrero and jlebon authored Jul 20, 2024
1 parent 6eb2394 commit 8d7b530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnf/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8d7b530

Please sign in to comment.