From 1dd7e14228c93da1af48c562a901922d5c2c915b Mon Sep 17 00:00:00 2001 From: Alexandre Date: Thu, 4 May 2023 11:46:17 +0200 Subject: [PATCH] update --- jellyseerr/config.json | 4 ++-- jellyseerr/rootfs/etc/cont-init.d/90-run.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jellyseerr/config.json b/jellyseerr/config.json index 8bb69ef58..5e34f5878 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-2", + "version": "1.5.0-2test", "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 7aa2f9970..7464526c8 100755 --- a/jellyseerr/rootfs/etc/cont-init.d/90-run.sh +++ b/jellyseerr/rootfs/etc/cont-init.d/90-run.sh @@ -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