mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-22 23:33:36 +05:00
fix(moonraker): correctly install ubuntu 24.10 dependencies (#630)
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
@@ -539,3 +539,10 @@ def get_service_file_path(instance_type: type, suffix: str) -> Path:
|
||||
file_path: Path = SYSTEMD.joinpath(f"{name}.service")
|
||||
|
||||
return file_path
|
||||
|
||||
def get_distro_name() -> str:
|
||||
return check_output(["lsb_release", "-is"]).decode().strip()
|
||||
|
||||
|
||||
def get_distro_version() -> str:
|
||||
return check_output(["lsb_release", "-rs"]).decode().strip()
|
||||
|
||||
Reference in New Issue
Block a user