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
|
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 &&
|
||||||
|
|
Loading…
Reference in New Issue