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
1 changed files with 8 additions and 7 deletions

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) }') 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"` YW=`echo "\033[33m"`
BL=`echo "\033[36m"` BL=`echo "\033[36m"`
HA=`echo "\033[1;34m"`
RD=`echo "\033[01;31m"` RD=`echo "\033[01;31m"`
BGN=`echo "\033[4;92m"` BGN=`echo "\033[4;92m"`
GN=`echo "\033[1;92m"` GN=`echo "\033[1;92m"`
@ -60,13 +61,13 @@ else
exit exit
fi fi
function header_info { function header_info {
echo -e "${BL} echo -e "${HA}
_ _ ____ _____ __ _____ ____ _____
| | | | /\ / __ \ / ____| / / / / | / __ \/ ___/
| |__| | / \ | | | | (___ / /_/ / /| |/ / / /\__ \
| __ | / /\ \| | | |\___ \ / __ / ___ / /_/ /___/ /
| | | |/ ____ \ |__| |____) | /_/ /_/_/v4|_\____//____/
|_| |_/_/ ${CL}${YW}v4${CL}${BL} \_\____/|_____/ Home Assistant OS
${CL}" ${CL}"
} }
function msg_info() { function msg_info() {