diff --git a/install_httpd-2.4.sh b/install_httpd-2.4.sh index e181831..3cf1e44 100755 --- a/install_httpd-2.4.sh +++ b/install_httpd-2.4.sh @@ -2312,11 +2312,11 @@ fi echo "" >> ${_logdir}/main.log if [[ "$os_dist" = "debian" ]] && [[ $os_version -gt 11 ]]; then - if [[ -f "${_builddir}/dhparam-openssl-3.0-4096.pem" ]] ; then + if [[ -f "${_srcdir}/dhparam-openssl-3.0-4096.pem" ]] ; then echo "## - Copy dhparam.pem to '$PREFIX/conf/ssl/dhparam.pem'.." >> ${_logdir}/main.log echo "## -" >> ${_logdir}/main.log - echo "cp \"${_builddir}/dhparam-openssl-3.0-4096.pem\" \"$PREFIX/conf/ssl/dhparam.pem\"" - cp "${_builddir}/dhparam-openssl-3.0-4096.pem" "$PREFIX/conf/ssl/dhparam.pem" >> ${_logdir}/main.log + echo "cp \"${_srcdir}/dhparam-openssl-3.0-4096.pem\" \"$PREFIX/conf/ssl/dhparam.pem\"" + cp "${_srcdir}/dhparam-openssl-3.0-4096.pem" "$PREFIX/conf/ssl/dhparam.pem" >> ${_logdir}/main.log if [[ $? -eq 0 ]];then echo_ok else