mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 18:01:03 +01:00
update
This commit is contained in:
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user