From 2d796ce216589b13540f9e74949108d2e9ad2e61 Mon Sep 17 00:00:00 2001 From: Christoph Date: Mon, 19 Jun 2023 01:30:22 +0200 Subject: [PATCH] install_httpd-2.4.sh: fix error lookung for file 'dhparam-openssl-3.0-4096.pem'. --- install_httpd-2.4.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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