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