mirror of
https://github.com/minoplhy/nginx-noroot.git
synced 2024-11-22 09:16:53 +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
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user