This commit is contained in:
Alexandre
2023-05-04 12:34:28 +02:00
parent 1578dfc8e8
commit 776aad2277
2 changed files with 5 additions and 4 deletions

View File

@@ -5,10 +5,11 @@
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/
rm -r /app
if [ -d /data/config ]; then rm -r /data/config; fi
cp -rnT /app/config "$CONFIG_LOCATION"
rm -r /app/config
cp -rT /app /data
rm -r /app
ln -s "$CONFIG_LOCATION" /data/config
# Create files