diff --git a/install_dehydrated.sh b/install_dehydrated.sh index 65f3d70..d576573 100755 --- a/install_dehydrated.sh +++ b/install_dehydrated.sh @@ -925,6 +925,21 @@ else echo_ok else echo_failed + error "Cloning git repositors \"dehydrated.git\" failed!" + + echo "" + echo " Command was: git clone https://github.com/lukas2511/dehydrated.git $DH_INSTALL_DIR" + echo "" + + echo "" + echononl "\033[1mcontinue anyway\033[m [yes/no]: " + read OK + while [[ "${OK,,}" != "yes" ]] && [[ "${OK,,}" != "no" ]] ; do + echononl "Wrong entry! - repeat [yes/nno]: " + read OK + done + [[ $OK = "yes" ]] || fatal "Abbruch durch User" + fatal "Cloning git repositors \"dehydrated.git\" failed!. Exciting install script.." fi fi