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

View File

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