build.sh : permission error fix

This commit is contained in:
unknown 2022-11-30 16:00:21 +07:00
parent d3a9c5aa12
commit fc2231df5b
Signed by: minoplhy
GPG Key ID: 90667A59A9908AEC

View File

@ -53,7 +53,7 @@ if [[ -f "/usr/bin/curl" ]]; then
curl https://raw.githubusercontent.com/minoplhy/nginx-noroot/main/configure.sh | bash curl https://raw.githubusercontent.com/minoplhy/nginx-noroot/main/configure.sh | bash
elif [[ -f "/usr/bin/wget" ]]; then elif [[ -f "/usr/bin/wget" ]]; then
wget https://raw.githubusercontent.com/minoplhy/nginx-noroot/main/configure.sh wget https://raw.githubusercontent.com/minoplhy/nginx-noroot/main/configure.sh
./configure.sh chmod +x configure.sh && ./configure.sh
else else
echo "Required Dependencies for download configure script doesn't exist" echo "Required Dependencies for download configure script doesn't exist"
fi fi