feat: KIAUH v4.0.0 #191

Merged
dw-0 merged 453 commits from v4-rc into master 2022-05-29 20:11:16 +02:00
2 changed files with 17 additions and 17 deletions
Showing only changes of commit c6d7ba8f9c - Show all commits

View File

@@ -77,21 +77,22 @@ function klipper_setup_dialog(){
error_msg "Invalid input!\n" error_msg "Invalid input!\n"
else else
echo echo
read -p "${cyan}###### Install ${count} instance(s)? (Y/n):${white} " yn while true; do
case "${yn}" in read -p "${cyan}###### Install ${count} instance(s)? (Y/n):${white} " yn
Y|y|Yes|yes|"") case "${yn}" in
select_msg "Yes" Y|y|Yes|yes|"")
status_msg "Installing ${count} Klipper instance(s) ... \n" select_msg "Yes"
klipper_setup "${count}" status_msg "Installing ${count} Klipper instance(s) ... \n"
break;; klipper_setup "${count}"
N|n|No|no) break;;
select_msg "No" N|n|No|no)
abort_msg "Exiting Klipper setup ...\n" select_msg "No"
break;; abort_msg "Exiting Klipper setup ...\n"
*) break;;
print_error "Invalid command!" *)
;; error_msg "Invalid Input!\n";;
esac esac
done
fi fi
done done
} }

View File

@@ -93,8 +93,7 @@ function moonraker_setup_dialog(){
error_msg "Exiting Moonraker setup ...\n" error_msg "Exiting Moonraker setup ...\n"
break;; break;;
*) *)
error_msg "Invalid Input!\n" error_msg "Invalid Input!\n";;
;;
esac esac
done done
fi fi