Update alpine-adguard.sh

indentation
pull/1220/head
tteckster 2 years ago committed by GitHub
parent 4fb8b00240
commit e70da12429
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 29
      ct/alpine-adguard.sh

@ -52,29 +52,30 @@ function default_settings() {
} }
function update_script() { function update_script() {
while true; do while true; do
CHOICE=$(whiptail --title "SUPPORT" --menu "Select option" 11 58 2 \ CHOICE=$(
"1" "Update LXC OS" \ whiptail --title "SUPPORT" --menu "Select option" 11 58 2 \
"2" "Manually Update AdGuardHome" 3>&2 2>&1 1>&3 "1" "Update LXC OS" \
) "2" "Manually Update AdGuardHome" 3>&2 2>&1 1>&3
exit_status=$? )
if [ $exit_status == 1 ] ; then exit_status=$?
if [ $exit_status == 1 ]; then
clear clear
exit-script exit-script
fi fi
header_info header_info
case $CHOICE in case $CHOICE in
1 ) 1)
apk update && apk upgrade apk update && apk upgrade
exit exit
;; ;;
2 ) 2)
header_info header_info
echo "In the process of creating a method to update" echo "In the process of creating a method to update"
exit exit
;; ;;
esac esac
done done
} }
start start

Loading…
Cancel
Save