install_httpd-2.4.sh: if 'make install' failed, try 'make install' again (is needed for version 2.4.34).
This commit is contained in:
		| @@ -1816,14 +1816,28 @@ else | |||||||
|    echo_failed |    echo_failed | ||||||
|    error "Installing apache-${APACHE_VERSION} failed." |    error "Installing apache-${APACHE_VERSION} failed." | ||||||
|  |  | ||||||
| 	echononl "continue anyway [yes/no]: " |    echononl "\tTrying again..." | ||||||
| 	read OK |    echo "## - Trying to install apache-${APACHE_VERSION} again.." >> ${_logdir}/main.log | ||||||
| 	OK="$(echo "$OK" | tr '[:upper:]' '[:lower:]')" |    echo "## -" >> ${_logdir}/main.log | ||||||
| 	while [[ "$OK" != "yes" ]] && [[  "$OK" != "no" ]] ; do |    echo "## - See ${_logdir}/httpd-make_install_again.log for more details" >> ${_logdir}/main.log | ||||||
| 		echononl "Wrong entry! - repeat [yes/no]: " |    echo "## -" >> ${_logdir}/main.log | ||||||
| 		read OK |    echo "make install > ${_logdir}/httpd-make_install_again.log 2>&1" >> ${_logdir}/main.log | ||||||
| 	done |    make install > ${_logdir}/httpd-make_install_again.log 2>&1 | ||||||
| 	[[ $OK = "yes" ]] || fatal "Abbruch durch User" |  | ||||||
|  |    if [ "$?" = "0" ]; then | ||||||
|  |       echo_ok | ||||||
|  |    else | ||||||
|  |       echo_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 | ||||||
|  |  | ||||||
| fi | fi | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user