Minor change to the script output in section 'try to restore vhost configuration'.

This commit is contained in:
Christoph 2018-03-05 13:33:21 +01:00
parent 12211e13b4
commit b48d87e430

View File

@ -3903,13 +3903,15 @@ else
echo_skipped
fi
# - Try to restote vhost configuration from (current) installation
# -
echononl "\tTry to restore vhost configurations from current installation.."
if [[ -n "$_httpd_current_version" ]]; then
_failed=false
_done=false
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
echononl "\tTry to restore vhost configurations.."
if [[ "$_httpd_current_version" != $APACHE_VERSION ]]; then
if [[ -d "$(dirname "$PREFIX")/httpd-${_httpd_current_version}/conf/vhosts" ]]; then
_src_dir="$(dirname "$PREFIX")/httpd-${_httpd_current_version}/conf/vhosts"
@ -3950,7 +3952,9 @@ if [[ -n "$_httpd_current_version" ]]; then
fi
fi # [[ -n "$_src_dir" ]] ; then
else
echo_skipped
fi # if [[ -n "$_httpd_current_version" ]]