From b1b3987882172855c935a1941fde661f788ab3ae Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 23 Feb 2022 14:11:53 -0500 Subject: [PATCH] Update latest-update-menu.sh --- misc/latest-update-menu.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/misc/latest-update-menu.sh b/misc/latest-update-menu.sh index d6656c2b..8912ea3f 100644 --- a/misc/latest-update-menu.sh +++ b/misc/latest-update-menu.sh @@ -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'