This commit is contained in:
Alexandre
2023-05-04 11:46:17 +02:00
parent 811cf19273
commit 1dd7e14228
2 changed files with 4 additions and 4 deletions

View File

@@ -6,9 +6,9 @@ CONFIG_LOCATION="/config/addons_config/jellyseer"
bashio::log.info "Config stored in $CONFIG_LOCATION"
mkdir -p "$CONFIG_LOCATION"
cp -rnT /app/config "$CONFIG_LOCATION"
cp -rnT /app /data
cp -rnT /app/ /data/
rm -r /app
if [ -f /data/config ]; then rm -r /data/config; fi
if [ -d /data/config ]; then rm -r /data/config; fi
ln -s "$CONFIG_LOCATION" /data/config
# Create files