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

@@ -78,6 +78,6 @@
},
"slug": "jellyseerr",
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/jellyseerr",
"version": "1.5.0-2test",
"version": "1.5.0-2test2",
"webui": "[PROTO:ssl]://[HOST]:[PORT:5055]"
}

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