Update 20-config

This commit is contained in:
Alexandre
2021-10-30 23:56:17 +02:00
committed by GitHub
parent 554a7ab363
commit 9811411a3a

View File

@@ -73,11 +73,14 @@ echo "${CONFIG}" > /config/transmission/settings.json
if bashio::config.has_value 'customUI'; then if bashio::config.has_value 'customUI'; then
### Variables ### Variables
echo "Setting custom UI"
CUSTOMUI=$(bashio::config 'customUI') CUSTOMUI=$(bashio::config 'customUI')
mv /$CUSTOMUI /flood-for-transmission if [ "$CUSTOMUI" != "flood-for-transmission" ]; then
bashio::log.info "UI selected : $CUSTOMUI" echo "Setting custom UI"
mv /flood-for-transmission /a
mv /$CUSTOMUI /flood-for-transmission
fi
fi fi
bashio::log.info "UI selected : $CUSTOMUI"
#################### ####################
# From linuxserver # # From linuxserver #