Fix install_nginx.sh openssl version compare.

This commit is contained in:
邱博亞 2024-01-04 20:53:26 +08:00
parent 0c53309422
commit abb87a6952
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ if [ "$(readlink -f `which openssl`)" == "/opt/openssl/bin/openssl" ]; then
fi fi
fi fi
fi fi
if [[ $(vercomp "$openssl_ver" "1.1.1") == "<" ]] || [[ "$force_reinstall_openssl" == "1" ]]; then if [[ $(vercomp "${openssl_ver:0:-1}" "1.1.1") == "<" ]] || [[ "$force_reinstall_openssl" == "1" ]]; then
# Build openssl # Build openssl
sudo bash -l -c " sudo bash -l -c "
cd /root && cd /root &&