Fix install_nginx.sh openssl version compare.
This commit is contained in:
parent
0c53309422
commit
abb87a6952
|
@ -65,7 +65,7 @@ if [ "$(readlink -f `which openssl`)" == "/opt/openssl/bin/openssl" ]; then
|
|||
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
|
||||
sudo bash -l -c "
|
||||
cd /root &&
|
||||
|
|
Loading…
Reference in New Issue