refactor: update dependency management

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
dw-0
2024-05-11 22:16:36 +02:00
parent 9342c94096
commit a44508ead5
6 changed files with 74 additions and 46 deletions

View File

@@ -74,6 +74,7 @@ def install_klipper() -> None:
try:
if not kl_im.instances:
check_install_dependencies(["git"])
setup_klipper_prerequesites()
count = 0

View File

@@ -260,10 +260,11 @@ def handle_disruptive_system_packages() -> None:
try:
cmd_sysctl_service(service, "mask")
except subprocess.CalledProcessError:
# todo: replace with Logger.print_dialog
warn_msg = textwrap.dedent(
f"""
KIAUH was unable to mask the {service} system service.
Please fix the problem manually. Otherwise, this may have
KIAUH was unable to mask the {service} system service.
Please fix the problem manually. Otherwise, this may have
undesirable effects on the operation of Klipper.
"""
)[1:]