Update transmit.py fix OS test

master-b-cam
Alan Johnston 1 month ago committed by GitHub
parent 4de06e4868
commit 6eca0273c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -481,8 +481,10 @@ if __name__ == "__main__":
os_status = e.stdout.strip()
print(f"Output of the command (stdout): {e.stdout}")
# print(f"Error output of the command (stderr): {e.stderr}")
if os_status != "bullseye":
if os_status != "VERSION_CODENAME=bullseye":
os_status = "bookworm"
else:
os_status = "bullseye"
print (os_status)
query = ["sudo", "systemctl", "is-active", "gpsd.socket"]

Loading…
Cancel
Save

Powered by TurnKey Linux.