Update haos-vm-v4.sh

This commit is contained in:
tteckster 2022-08-01 06:10:41 -04:00 committed by GitHub
parent 1189beb7ae
commit 271e8422b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,7 @@ LATEST=$(curl -sX GET "https://api.github.com/repos/home-assistant/operating-sys
STABLE=$(curl -s https://raw.githubusercontent.com/home-assistant/version/master/stable.json | grep "ova" | awk '{print substr($2, 2, length($2)-3) }')
YW=`echo "\033[33m"`
BL=`echo "\033[36m"`
HA=`echo "\033[1;34m"`
RD=`echo "\033[01;31m"`
BGN=`echo "\033[4;92m"`
GN=`echo "\033[1;92m"`
@ -60,13 +61,13 @@ else
exit
fi
function header_info {
echo -e "${BL}
_ _ ____ _____
| | | | /\ / __ \ / ____|
| |__| | / \ | | | | (___
| __ | / /\ \| | | |\___ \
| | | |/ ____ \ |__| |____) |
|_| |_/_/ ${CL}${YW}v4${CL}${BL} \_\____/|_____/
echo -e "${HA}
__ _____ ____ _____
/ / / / | / __ \/ ___/
/ /_/ / /| |/ / / /\__ \
/ __ / ___ / /_/ /___/ /
/_/ /_/_/v4|_\____//____/
Home Assistant OS
${CL}"
}
function msg_info() {