diff --git a/install.sh b/install.sh index e87f433..c323ede 100755 --- a/install.sh +++ b/install.sh @@ -444,6 +444,16 @@ if [ "$1" == "remove" ]; then exit; fi; # else run install +echo "Would you like to install/update docker? (y/N)"; +read -r ANSWER; +if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "Y" ]; then + #install_docker_deb; + # install docker using apt-get + install_docker_apt + + echo "Wait..." + sleep 5 +fi $SUDO_CMD docker pull registry.format.hu/installer-tool @@ -452,17 +462,6 @@ if [ ! -f "/etc/user/config/system.json" ]; then INIT="true"; - echo "Would you like to install/update docker? (y/N)"; - read -r ANSWER; - if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "Y" ]; then - #install_docker_deb; - # install docker using apt-get - install_docker_apt - - echo "Wait..." - sleep 5 - fi - check_running; check_dirs_and_files;