Update homeassistant-v5.sh

pull/930/head
tteckster 2023-01-07 20:43:08 -05:00 committed by GitHub
parent 891e6ef1e2
commit 6a132e0305
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -320,7 +320,7 @@ function install_script() {
fi
}
function update_script() {
UPD=$(whiptail --title "UPDATE" --radiolist --cancel-button Exit-Script "Choose Type" 15 58 4 \
UPD=$(whiptail --title "UPDATE" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 4 \
"1" "Update ALL Containers" ON \
"2" "Remove ALL Unused Images" OFF \
"3" "Install HACS" OFF \
@ -353,8 +353,6 @@ msg_ok "Removed ALL Unused Images"
exit
fi
if [ "$UPD" == "3" ]; then
clear
header_info
msg_info "Installing Home Assistant Comunity Store (HACS)"
apt update &>/dev/null
apt install unzip &>/dev/null
@ -365,8 +363,6 @@ echo -e "\n Reboot Home Assistant and clear browser cache then Add HACS integrat
exit
fi
if [ "$UPD" == "4" ]; then
clear
header_info
IP=$(hostname -I | awk '{print $1}')
msg_info "Installing FileBrowser"
curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash &>/dev/null