Browse Source

Update homeassistant-v5.sh

fix directory check
tteckster 2 năm trước cách đây
mục cha
commit
d883f95276
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
   install_script
 fi
 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
  ]]; then
   msg_error "No ${APP} Installation Found!"
   msg_error "No ${APP} Installation Found!"
   exit 
   exit