mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Remove existing folder
This commit is contained in:
@@ -9,9 +9,12 @@ CUSTOMUI=$(bashio::config 'customUI')
|
|||||||
|
|
||||||
# Install webui
|
# Install webui
|
||||||
if bashio::config.has_value 'customUI' && [ ! "$CUSTOMUI" = default ] && [ ! "$CUSTOMUI" = custom ]; then
|
if bashio::config.has_value 'customUI' && [ ! "$CUSTOMUI" = default ] && [ ! "$CUSTOMUI" = custom ]; then
|
||||||
### Variables
|
# Variables
|
||||||
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"
|
||||||
|
|
||||||
|
# Clean folders
|
||||||
|
if [ -d /"$CUSTOMUI" ]; then rm -r /"$CUSTOMUI"; fi
|
||||||
|
|
||||||
### Download WebUI
|
### Download WebUI
|
||||||
case $CUSTOMUI in
|
case $CUSTOMUI in
|
||||||
"combustion-release")
|
"combustion-release")
|
||||||
|
|||||||
Reference in New Issue
Block a user