mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-09 02:14:55 +00:00
trivial: generate_dependencies: use distro.id() to better find defaults
This commit is contained in:
parent
28494902f5
commit
05a3ee1fc8
@ -46,7 +46,7 @@ if __name__ == "__main__":
|
|||||||
try:
|
try:
|
||||||
import distro
|
import distro
|
||||||
|
|
||||||
target = distro.linux_distribution()[0]
|
target = distro.id()
|
||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError:
|
||||||
target = None
|
target = None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user