Update 01-config.sh

This commit is contained in:
Alexandre
2023-02-22 03:24:44 +01:00
committed by GitHub
parent 14ce8c37f7
commit e5a82c39b0

View File

@@ -46,13 +46,6 @@ fi
if bashio::config.has_value 'customUI'; then
CUSTOMUI=$(bashio::config 'customUI')
# Enable transmission-web-control return to default UI
if [ ! -f "/transmission-web-control/index.original.html" ]; then
ln -s /usr/share/transmission/web/style /transmission-web-control
ln -s /usr/share/transmission/web/images /transmission-web-control
ln -s /usr/share/transmission/web/javascript /transmission-web-control
ln -s /usr/share/transmission/web/index.html /transmission-web-control/index.original.html
fi || true
fi
bashio::log.info "UI selected : $CUSTOMUI"
bashio::log.warning "If UI was changed, you need to clear browser cache for it to show in Ingress"