From bb30640180d222365346ea7086c022b353fcab35 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 23 Mar 2023 10:35:48 -0400 Subject: [PATCH] Update alpine-docker.sh indent update --- ct/alpine-docker.sh | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/ct/alpine-docker.sh b/ct/alpine-docker.sh index 8545582a..c01b79e0 100644 --- a/ct/alpine-docker.sh +++ b/ct/alpine-docker.sh @@ -52,24 +52,24 @@ function default_settings() { } function update_script() { -while true; do - CHOICE=$( - whiptail --title "SUPPORT" --menu "Select option" 11 58 1 \ - "1" "Check for Docker Updates" 3>&2 2>&1 1>&3 - ) - exit_status=$? - if [ $exit_status == 1 ]; then - clear - exit-script - fi - header_info - case $CHOICE in - 1) - apk update && apk upgrade - exit - ;; - esac -done + while true; do + CHOICE=$( + whiptail --title "SUPPORT" --menu "Select option" 11 58 1 \ + "1" "Check for Docker Updates" 3>&2 2>&1 1>&3 + ) + exit_status=$? + if [ $exit_status == 1 ]; then + clear + exit-script + fi + header_info + case $CHOICE in + 1) + apk update && apk upgrade + exit + ;; + esac + done } start