mirror of
https://github.com/minoplhy/nginx-noroot.git
synced 2024-11-22 01:06:51 +00:00
build.sh : Copy-Paste Detected!!
This commit is contained in:
parent
228991ceee
commit
5416da17b4
4
build.sh
4
build.sh
@ -26,14 +26,14 @@ else
|
||||
fi
|
||||
tar xzf pcre-8.45.tar.gz
|
||||
|
||||
# Build Openssl
|
||||
# Get OpenSSL
|
||||
cd ~/nginx_build
|
||||
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
|
||||
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
|
||||
else
|
||||
echo "Required Dependencies for download Nginx doesn't exist"
|
||||
echo "Required Dependencies for download OpenSSL doesn't exist"
|
||||
fi
|
||||
tar xzf openssl-3.0.7.tar.gz
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user