Update install_nginx.sh
This commit is contained in:
parent
ead042998a
commit
a517b8ce3a
|
@ -21,7 +21,7 @@ openssl_ver="$(openssl version|xargs| awk '{print $2}')"
|
||||||
openssl_dir=""
|
openssl_dir=""
|
||||||
openssl_source_dir=""
|
openssl_source_dir=""
|
||||||
force_reinstall_openssl="0"
|
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"
|
force_reinstall_openssl="1"
|
||||||
fi
|
fi
|
||||||
if [[ "$openssl_ver" < "1.1.1" ]] || [[ "$force_reinstall_openssl" == "1" ]]; then
|
if [[ "$openssl_ver" < "1.1.1" ]] || [[ "$force_reinstall_openssl" == "1" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue