Update 01-migrate.sh

This commit is contained in:
Alexandre
2024-01-05 14:37:54 +01:00
committed by GitHub
parent 556394f40c
commit b64c429bf2

View File

@@ -6,7 +6,7 @@ set -e
# Migrate database #
####################
if [ -f /homeassistant/addons_config/calibre ]; then
if [ -d /homeassistant/addons_config/calibre ]; then
echo "Moving database to new location /config"
cp -rnf /homeassistant/addons_config/calibre/* /config/
rm -r /homeassistant/addons_config/calibre