build.sh : Copy-Paste Detected!!

This commit is contained in:
unknown 2022-11-30 16:32:03 +07:00
parent 228991ceee
commit 5416da17b4
Signed by: minoplhy
GPG Key ID: 90667A59A9908AEC

View File

@ -26,14 +26,14 @@ else
fi fi
tar xzf pcre-8.45.tar.gz tar xzf pcre-8.45.tar.gz
# Build Openssl # Get OpenSSL
cd ~/nginx_build cd ~/nginx_build
if [[ -f "/usr/bin/curl" ]]; then if [[ -f "/usr/bin/curl" ]]; then
curl -L https://www.openssl.org/source/openssl-3.0.7.tar.gz --output openssl-3.0.7.tar.gz curl -L https://www.openssl.org/source/openssl-3.0.7.tar.gz --output openssl-3.0.7.tar.gz
elif [[ -f "/usr/bin/wget" ]]; then elif [[ -f "/usr/bin/wget" ]]; then
wget https://www.openssl.org/source/openssl-3.0.7.tar.gz -O openssl-3.0.7.tar.gz wget https://www.openssl.org/source/openssl-3.0.7.tar.gz -O openssl-3.0.7.tar.gz
else else
echo "Required Dependencies for download Nginx doesn't exist" echo "Required Dependencies for download OpenSSL doesn't exist"
fi fi
tar xzf openssl-3.0.7.tar.gz tar xzf openssl-3.0.7.tar.gz