浏览代码

Update homeassistant-v5.sh

fix directory check
tteckster 2 年之前
父节点
当前提交
d883f95276
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ct/homeassistant-v5.sh

+ 1 - 1
ct/homeassistant-v5.sh

@@ -409,7 +409,7 @@ if command -v pveversion >/dev/null 2>&1; then
   install_script
 fi
 
-if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /var/lib/docker/volumes/hass_config/_data
+if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /var/lib/docker/volumes/hass_config/_data
  ]]; then
   msg_error "No ${APP} Installation Found!"
   exit