install_httpd-2.4.sh: if make install failed give the choice to continue installation.

This commit is contained in:
Christoph 2018-08-11 01:12:02 +02:00
parent 254a294985
commit 9bde9aa13c

View File

@ -1814,7 +1814,17 @@ if [ "$?" = "0" ]; then
echo_ok
else
echo_failed
fatal "Installing apache-${APACHE_VERSION} failed."
error "Installing apache-${APACHE_VERSION} failed."
echononl "continue anyway [yes/no]: "
read OK
OK="$(echo "$OK" | tr '[:upper:]' '[:lower:]')"
while [[ "$OK" != "yes" ]] && [[ "$OK" != "no" ]] ; do
echononl "Wrong entry! - repeat [yes/no]: "
read OK
done
[[ $OK = "yes" ]] || fatal "Abbruch durch User"
fi
echo ""