Browse Source

Update homeassistant-v5.sh

fix directory check
tteckster 2 years ago
parent
commit
d883f95276
1 changed files with 1 additions and 1 deletions
  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