mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 16:43:15 +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:
|
||||
import distro
|
||||
|
||||
target = distro.linux_distribution()[0]
|
||||
target = distro.id()
|
||||
except ModuleNotFoundError:
|
||||
target = None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user