1
0
Fork 0
mirror of https://github.com/fastogt/pyfastogt synced 2025-02-12 16:11:51 +00:00

Update system_info.py

This commit is contained in:
Alexandr Topilski 2020-04-27 16:53:14 +03:00 committed by GitHub
parent b8547647f7
commit 4e4a544e00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@ def linux_get_dist():
if dist_name_upper.startswith(("RHEL", "CENTOS LINUX", "FEDORA", "AMAZON LINUX")):
return "RHEL"
elif dist_name_upper.startswith(("DEBIAN", "UBUNTU", "LINUXMINT", "RASPBIAN GNU/LINUX")):
elif dist_name_upper.startswith(("DEBIAN", "UBUNTU", "LINUX MINT", "RASPBIAN GNU/LINUX")):
return "DEBIAN"
elif dist_name_upper.startswith(("ARCH")):
return "ARCH"