From a517b8ce3afed6d7d1c5e34c225d6e495625c498 Mon Sep 17 00:00:00 2001 From: BoHung Chiu Date: Mon, 3 Jul 2023 13:32:59 +0800 Subject: [PATCH] Update install_nginx.sh --- install_nginx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_nginx.sh b/install_nginx.sh index d096b70..1a282cf 100644 --- a/install_nginx.sh +++ b/install_nginx.sh @@ -21,7 +21,7 @@ openssl_ver="$(openssl version|xargs| awk '{print $2}')" openssl_dir="" openssl_source_dir="" force_reinstall_openssl="0" -if [[ ! -d "/usr/include/openssl" ]] && [[ ! -d "/usr/local/include/openssl" ]] && [[ ! -d "/usr/pkg/include/openssl" ]] && [[ ! -d "/opt/local/include/openssl" ]]; then +if [[ ! -d "/usr/include/openssl" ]] && [[ ! -d "/usr/local/include/openssl" ]] && [[ ! -d "/usr/pkg/include/openssl" ]] && [[ ! -d "/opt/local/include/openssl" ]] && [[ ! -d /opt/openssl/include/openssl ]]; then force_reinstall_openssl="1" fi if [[ "$openssl_ver" < "1.1.1" ]] || [[ "$force_reinstall_openssl" == "1" ]]; then