Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit 84727b4

Browse files
authored
Merge pull request #74 from xfgusta/fix-distro-identification
Fix distro identification
2 parents 4331fc1 + 0aba59c commit 84727b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nvautoinstall/MainFunction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def main(self):
9393

9494
def avbl(self):
9595
try:
96-
if str(distro.os_release_info()["name"]) == "Fedora":
96+
if distro.id() == "fedora":
9797
if int(distro.os_release_info()["version_id"]) >= 32:
9898
return "full"
9999
else:

0 commit comments

Comments
 (0)