refactor: patch only necessary update manager sections upon webif install

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-04-21 22:12:32 +02:00
parent a0ca25a99a
commit aa446e1db7
5 changed files with 87 additions and 23 deletions

View File

@@ -66,7 +66,8 @@ function moonraker_setup_dialog(){
case "${yn}" in
Y|y|Yes|yes|"")
select_msg "Yes"
status_msg "Installing ${count} Moonraker instance(s) ... \n"
((count == 1)) && status_msg "Installing single Moonraker instance ..."
((count > 1)) && status_msg "Installing ${count} Moonraker instances ..."
moonraker_setup "${count}"
break;;
N|n|No|no)