浏览代码

Update homeassistant-core-v5.sh

tteckster 2 年之前
父节点
当前提交
030c4927e7
共有 1 个文件被更改,包括 1 次插入1 次删除
  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