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'