mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-13 02:51:27 +02:00
Update 01-migrate.sh
This commit is contained in:
@@ -14,6 +14,10 @@ if [[ "$LOCATION" == "/share/jellyfin" ]] && [ ! -d /share/jellyfin ] && [ -d /h
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -d /homeassistant/addons_config/jellyfin_migrated ]; then
|
||||||
|
ln -sf "$LOCATION" /config/addons_config/jellyfin
|
||||||
|
fi
|
||||||
|
|
||||||
# Migration to new /config logic
|
# Migration to new /config logic
|
||||||
if [[ "$LOCATION" == "/config/addons_config/"* ]]; then
|
if [[ "$LOCATION" == "/config/addons_config/"* ]]; then
|
||||||
bashio::log.warning "Data folder was $LOCATION, it is migrated to /config/data. The previous folder is renamed to _migrated"
|
bashio::log.warning "Data folder was $LOCATION, it is migrated to /config/data. The previous folder is renamed to _migrated"
|
||||||
|
|||||||
Reference in New Issue
Block a user