From 91128aadddad1d72c9c7b67d8a3098be29a31043 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Mon, 29 Nov 2021 21:06:31 +0100 Subject: [PATCH] Correct customui --- ubooquity/CHANGELOG.md | 1 + ubooquity/rootfs/etc/cont-init.d/93-custom_webUI.sh | 13 ++++++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ubooquity/CHANGELOG.md b/ubooquity/CHANGELOG.md index dc5c9a921..0175fd55d 100644 --- a/ubooquity/CHANGELOG.md +++ b/ubooquity/CHANGELOG.md @@ -2,6 +2,7 @@ - Add local drives mounts : used localdisks with the text "sda1, sdb1" according to your needs - Add ssl - Add ingress +- Correct custom ui ## 2.1.2-ls63 diff --git a/ubooquity/rootfs/etc/cont-init.d/93-custom_webUI.sh b/ubooquity/rootfs/etc/cont-init.d/93-custom_webUI.sh index 52374231a..71f1cdc44 100644 --- a/ubooquity/rootfs/etc/cont-init.d/93-custom_webUI.sh +++ b/ubooquity/rootfs/etc/cont-init.d/93-custom_webUI.sh @@ -12,15 +12,14 @@ if bashio::config.has_value 'theme'; then ### Download WebUI case $CUSTOMUI in "comixology2") - curl -s -S -J -L -o /data/release.zip https://github.com/scooterpsu/Comixology_Ubooquity_2/releases/download/v3.4/comixology2.zip >/dev/null \ - && unzip -o -q /data/release.zip -d /config/ubooquity/themes/ + curl -s -S -J -L -o /data/release.zip https://github.com/scooterpsu/Comixology_Ubooquity_2/releases/download/v3.4/comixology2.zip >/dev/null && + unzip -o -q /data/release.zip -d /config/ubooquity/themes/ ;; - case $CUSTOMUI in "plextheme-master") - curl -s -S -J -L -o /data/release.zip https://github.com/FinalAngel/plextheme/archive/master.zip >/dev/null \ - && unzip -q /data/release.zip -d /config/ubooquity/themes/ \ -# && mv /config/ubooquity/themes/plextheme-master/ /config/ubooquity/themes/ + curl -s -S -J -L -o /data/release.zip https://github.com/FinalAngel/plextheme/archive/master.zip >/dev/null && + unzip -q /data/release.zip -d /config/ubooquity/themes/ + # && mv /config/ubooquity/themes/plextheme-master/ /config/ubooquity/themes/ ;; esac @@ -30,5 +29,5 @@ if bashio::config.has_value 'theme'; then ### Set preference jq --arg variable $CUSTOMUI '.theme = $variable' /config/ubooquity/preferences.json | sponge /config/ubooquity/preferences.json - + fi