Minor change to the script output in section 'try to restore vhost configuration'.
This commit is contained in:
		| @@ -3903,13 +3903,15 @@ else | |||||||
|    echo_skipped |    echo_skipped | ||||||
| fi | fi | ||||||
|  |  | ||||||
|  | # - Try to restote vhost configuration from (current) installation | ||||||
|  | # -  | ||||||
|  | echononl "\tTry to restore vhost configurations from current installation.."  | ||||||
| if [[ -n "$_httpd_current_version" ]]; then | if [[ -n "$_httpd_current_version" ]]; then | ||||||
|    _failed=false |    _failed=false | ||||||
|    _done=false |    _done=false | ||||||
|    echo "" >> ${_logdir}/main.log |    echo "" >> ${_logdir}/main.log | ||||||
|    echo "## - Try to restore vhost configurations.." >> ${_logdir}/main.log |    echo "## - Try to restore vhost configurations from (current) installation.." >> ${_logdir}/main.log | ||||||
|    echo "## -" >> ${_logdir}/main.log |    echo "## -" >> ${_logdir}/main.log | ||||||
|    echononl "\tTry to restore vhost configurations.."  |  | ||||||
|    if [[ "$_httpd_current_version" != $APACHE_VERSION ]]; then |    if [[ "$_httpd_current_version" != $APACHE_VERSION ]]; then | ||||||
|       if [[ -d "$(dirname "$PREFIX")/httpd-${_httpd_current_version}/conf/vhosts" ]]; then |       if [[ -d "$(dirname "$PREFIX")/httpd-${_httpd_current_version}/conf/vhosts" ]]; then | ||||||
|          _src_dir="$(dirname "$PREFIX")/httpd-${_httpd_current_version}/conf/vhosts" |          _src_dir="$(dirname "$PREFIX")/httpd-${_httpd_current_version}/conf/vhosts" | ||||||
| @@ -3950,7 +3952,9 @@ if [[ -n "$_httpd_current_version" ]]; then | |||||||
|       fi |       fi | ||||||
|           |           | ||||||
|    fi # [[ -n "$_src_dir" ]] ; then |    fi # [[ -n "$_src_dir" ]] ; then | ||||||
|     |  | ||||||
|  | else | ||||||
|  |    echo_skipped | ||||||
| fi # if [[ -n "$_httpd_current_version" ]] | fi # if [[ -n "$_httpd_current_version" ]] | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user