Compare commits

...
2 Commits
+14 -3
View File
@@ -971,11 +971,22 @@ else
echo_ok
else
echo_failed
echo -e "\n Command was:
git clone https://github.com/lukas2511/dehydrated.git $DH_INSTALL_DIR\n"
error "Cloning git repositors \"dehydrated.git\" failed!"
error "$(cat "$log_file")"
echo ""
fatal "Cloning git repositors \"dehydrated.git\" failed!. Exciting install script.."
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"
fi
fi