Update homeassistant-v5.sh

fix directory check
This commit is contained in:
tteckster 2023-03-05 07:45:47 -05:00 committed by GitHub
parent c159c1add2
commit d883f95276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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