nginx-noroot : fix 'tar xzf' wrong file

This commit is contained in:
unknown 2022-04-23 15:57:17 +07:00
parent 0f6ac74c65
commit 76eaaff2ae
Signed by: minoplhy
GPG Key ID: 90667A59A9908AEC

View File

@ -36,7 +36,7 @@ else
echo "Required Dependencies for download Nginx doesn't exist"
fi
tar xzf pcre-8.45.tar.gz && cd nginx-1.21.6
tar xzf nginx-1.21.6.tar.gz && cd nginx-1.21.6
if [[ -f "/usr/bin/curl" ]]; then
curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx-noroot/configure.sh | bash