mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-21 16:21:51 +02:00
Update 91-qbittorrent_configuration.sh
This commit is contained in:
@@ -123,8 +123,7 @@ rm -f -r /webui
|
|||||||
mkdir -p /webui
|
mkdir -p /webui
|
||||||
chown abc:abc /webui
|
chown abc:abc /webui
|
||||||
|
|
||||||
if bashio::config.has_value 'customUI'; then
|
if bashio::config.has_value 'customUI' && [ ! "$CUSTOMUI" = default ]; then
|
||||||
if [ ! "$CUSTOMUI" = default ]; then
|
|
||||||
### Variables
|
### Variables
|
||||||
CUSTOMUI=$(bashio::config 'customUI')
|
CUSTOMUI=$(bashio::config 'customUI')
|
||||||
bashio::log.info "Alternate UI enabled : $CUSTOMUI. If webui don't work, disable this option"
|
bashio::log.info "Alternate UI enabled : $CUSTOMUI. If webui don't work, disable this option"
|
||||||
@@ -156,7 +155,6 @@ if bashio::config.has_value 'customUI'; then
|
|||||||
# Set nginx
|
# Set nginx
|
||||||
#sed -i "s=/vuetorrent/public/=$CUSTOMUIDIR/public/=g" /etc/nginx/servers/ingress.conf
|
#sed -i "s=/vuetorrent/public/=$CUSTOMUIDIR/public/=g" /etc/nginx/servers/ingress.conf
|
||||||
#sed -i "s=vue.torrent=$CUSTOMUI.torrent=g" /etc/nginx/servers/ingress.conf
|
#sed -i "s=vue.torrent=$CUSTOMUI.torrent=g" /etc/nginx/servers/ingress.conf
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user