Pārlūkot izejas kodu

Update homeassistant-core-v5.sh

tteckster 2 gadi atpakaļ
vecāks
revīzija
030c4927e7
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      ct/homeassistant-core-v5.sh

+ 1 - 1
ct/homeassistant-core-v5.sh

@@ -325,6 +325,7 @@ function advanced_settings() {
 }
 
 function install_script() {
+  ARCH_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     echo -e "${BL}Using Default Settings${CL}"
@@ -418,7 +419,6 @@ fi
 }
 
 clear
-ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then