Update latest-update-menu.sh

This commit is contained in:
tteckster 2022-02-23 14:11:53 -05:00 committed by GitHub
parent e52f5d9e6f
commit b1b3987882
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,11 @@ echo -e "\e[1;92m Installing runlike... \e[0m"
pip3 install runlike &>/dev/null
fi
echo -e "\e[1;92m Creating Update Script... \e[0m"
if [ -f /root/hass_config ]; then
echo -e "\e[1;92m There's Already (hass_config) Folder! \e[0m"
else
mkdir /root/hass_config
fi
UPDATE_PATH='/root/update'
UPDATE_CONTAINERS_PATH='/root/update-containers.sh'
cat >$UPDATE_PATH <<'EOF'