From 776aad2277418b0c123e3ee693b45f10f0b755d7 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Thu, 4 May 2023 12:34:28 +0200 Subject: [PATCH] update --- jellyseerr/config.json | 2 +- jellyseerr/rootfs/etc/cont-init.d/90-run.sh | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/jellyseerr/config.json b/jellyseerr/config.json index 5e34f5878..fe1c44de9 100644 --- a/jellyseerr/config.json +++ b/jellyseerr/config.json @@ -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]" } \ No newline at end of file diff --git a/jellyseerr/rootfs/etc/cont-init.d/90-run.sh b/jellyseerr/rootfs/etc/cont-init.d/90-run.sh index 7464526c8..c775c9ab7 100755 --- a/jellyseerr/rootfs/etc/cont-init.d/90-run.sh +++ b/jellyseerr/rootfs/etc/cont-init.d/90-run.sh @@ -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