From 300340fd10b99a221a842b8e1666be181acfb45b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 24 Jul 2023 17:12:27 +0200 Subject: [PATCH] update --- webtop_kde/config.json | 2 +- webtop_kde/rootfs/etc/cont-init.d/00-data_location.sh | 4 ++-- webtop_kde/rootfs/etc/cont-init.d/90-ingress.sh | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/webtop_kde/config.json b/webtop_kde/config.json index 04e3443c9..b461de714 100644 --- a/webtop_kde/config.json +++ b/webtop_kde/config.json @@ -126,6 +126,6 @@ "slug": "webtop-kde", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "5.24.5-test5", + "version": "5.24.5-test6", "video": true } \ No newline at end of file diff --git a/webtop_kde/rootfs/etc/cont-init.d/00-data_location.sh b/webtop_kde/rootfs/etc/cont-init.d/00-data_location.sh index 036eab041..e1f5d67d7 100755 --- a/webtop_kde/rootfs/etc/cont-init.d/00-data_location.sh +++ b/webtop_kde/rootfs/etc/cont-init.d/00-data_location.sh @@ -33,8 +33,8 @@ fi # Set data location bashio::log.info "Setting data location to $LOCATION" -sed -i "1a export HOME=$LOCATION" $(find /etc/s6-overlay/s6-rc.d -name “run” -type f) || true -sed -i "1a export FM_HOME=$LOCATION” $(find /etc/s6-overlay/s6-rc.d -name “run” -type f) || true +sed -i "1a export HOME=$LOCATION" $(find /etc/s6-overlay/s6-rc.d -name "run" -type f) || true +sed -i "1a export FM_HOME=$LOCATION” $(find /etc/s6-overlay/s6-rc.d -name "run" -type f) || true sed -i "s|/share/webtop_kde|$LOCATION|g" $(find /defaults -type f) || true sed -i "s|/share/webtop_kde|$LOCATION|g" $(find /etc/cont-init.d -type f) || true sed -i "s|/share/webtop_kde|$LOCATION|g" $(find /etc/services.d -type f) || true diff --git a/webtop_kde/rootfs/etc/cont-init.d/90-ingress.sh b/webtop_kde/rootfs/etc/cont-init.d/90-ingress.sh index 3b9e219c2..523157383 100755 --- a/webtop_kde/rootfs/etc/cont-init.d/90-ingress.sh +++ b/webtop_kde/rootfs/etc/cont-init.d/90-ingress.sh @@ -1,5 +1,6 @@ #!/usr/bin/with-contenv bashio # shellcheck shell=bash +# shellcheck disable=SC2046 ################# # NGINX SETTING # @@ -10,4 +11,4 @@ sed -i "s/%%port%%/${ingress_port}/g" /etc/nginx/sites-available/ingress.conf sed -i "s/%%interface%%/${ingress_interface}/g" /etc/nginx/sites-available/ingress.conf # Implement SUBFOLDER value -sed -i "1a SUBFOLDER=$(bashio::addon.ingress_url)" $(find /etc/s6-overlay/s6-rc.d -name “run” -type f) +sed -i "1a SUBFOLDER=$(bashio::addon.ingress_url)" $(find /etc/s6-overlay/s6-rc.d -name "run" -type f)