trivial: generate_dependencies: use distro.id() to better find defaults

This commit is contained in:
Mario Limonciello 2021-09-15 22:28:21 -05:00
parent 28494902f5
commit 05a3ee1fc8

View File

@ -46,7 +46,7 @@ if __name__ == "__main__":
try:
import distro
target = distro.linux_distribution()[0]
target = distro.id()
except ModuleNotFoundError:
target = None