revert(klipper): revert klipper update function
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
@@ -617,8 +617,7 @@ function update_klipper() {
|
|||||||
do_action_service "stop" "klipper"
|
do_action_service "stop" "klipper"
|
||||||
|
|
||||||
if [[ ! -d ${KLIPPER_DIR} ]]; then
|
if [[ ! -d ${KLIPPER_DIR} ]]; then
|
||||||
error_msg "Nothing to update, Klipper directory doesn't exists! Please instakk Klipper first."
|
clone_klipper "${custom_repo}" "${custom_branch}"
|
||||||
return
|
|
||||||
else
|
else
|
||||||
backup_before_update "klipper"
|
backup_before_update "klipper"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user