mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update 20-config
This commit is contained in:
@@ -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 #
|
||||||
|
|||||||
Reference in New Issue
Block a user