revert(klipper): revert klipper update function

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
th33xitus
2023-03-11 22:22:11 +01:00
parent 2b168e2463
commit 38090816ca

View File

@@ -617,8 +617,7 @@ function update_klipper() {
do_action_service "stop" "klipper"
if [[ ! -d ${KLIPPER_DIR} ]]; then
error_msg "Nothing to update, Klipper directory doesn't exists! Please instakk Klipper first."
return
clone_klipper "${custom_repo}" "${custom_branch}"
else
backup_before_update "klipper"