From b078ad6d3dae52db926ffab11b34be62492d6e47 Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 22 Mar 2023 17:44:56 -0400 Subject: [PATCH] Update alpine-docker.sh indentation --- ct/alpine-docker.sh | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/ct/alpine-docker.sh b/ct/alpine-docker.sh index cf15dc2d..a87cb323 100644 --- a/ct/alpine-docker.sh +++ b/ct/alpine-docker.sh @@ -52,20 +52,21 @@ function default_settings() { } while true; do - CHOICE=$(whiptail --title "SUPPORT" --menu "Select option" 11 58 1 \ - "1" "Check for Docker Updates" 3>&2 2>&1 1>&3 + 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 + if [ $exit_status == 1 ]; then + clear + exit-script fi header_info case $CHOICE in - 1 ) - apk update && apk upgrade - exit - ;; + 1) + apk update && apk upgrade + exit + ;; esac done