fix: formatting

This commit is contained in:
th33xitus
2020-10-29 17:32:48 +01:00
parent dc32470a7c
commit 7431124d87
5 changed files with 6 additions and 18 deletions

View File

@@ -23,9 +23,7 @@ advanced_menu(){
read_octoprint_service_status read_octoprint_service_status
advanced_ui advanced_ui
while true; do while true; do
echo -e "${cyan}" read -p "${cyan}Perform action:${default} " action; echo
read -p "Perform action: " action; echo
echo -e "${default}"
case "$action" in case "$action" in
0) 0)
clear clear
@@ -121,9 +119,7 @@ switch_menu(){
print_msg && clear_msg print_msg && clear_msg
switch_ui switch_ui
while true; do while true; do
echo -e "${cyan}" read -p "${cyan}Perform action:${default} " action; echo
read -p "Perform action: " action; echo
echo -e "${default}"
case "$action" in case "$action" in
1) 1)
clear clear

View File

@@ -23,9 +23,7 @@ backup_menu(){
print_msg && clear_msg print_msg && clear_msg
backup_ui backup_ui
while true; do while true; do
echo -e "${cyan}" read -p "${cyan}Perform action:${default} " action; echo
read -p "Perform action: " action; echo
echo -e "${default}"
case "$action" in case "$action" in
1) 1)
clear clear

View File

@@ -18,9 +18,7 @@ install_menu(){
print_header print_header
install_ui install_ui
while true; do while true; do
echo -e "${cyan}" read -p "${cyan}Perform action:${default} " action; echo
read -p "Perform action: " action; echo
echo -e "${default}"
case "$action" in case "$action" in
1) 1)
clear clear

View File

@@ -23,9 +23,7 @@ remove_menu(){
print_header print_header
remove_ui remove_ui
while true; do while true; do
echo -e "${cyan}" read -p "${cyan}Perform action:${default} " action; echo
read -p "Perform action: " action; echo
echo -e "${default}"
case "$action" in case "$action" in
1) 1)
clear clear

View File

@@ -33,9 +33,7 @@ update_menu(){
read_bb4u_stat read_bb4u_stat
update_ui update_ui
while true; do while true; do
echo -e "${cyan}" read -p "${cyan}Perform action:${default} " action; echo
read -p "Perform action: " action; echo
echo -e "${default}"
case "$action" in case "$action" in
0) 0)
clear clear