install_httpd-2.4.sh: if make install failed give the choice to continue installation.
This commit is contained in:
parent
254a294985
commit
9bde9aa13c
@ -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 ""
|
||||
|
Loading…
Reference in New Issue
Block a user