mirror of
https://github.com/minoplhy/nginx-noroot.git
synced 2024-11-22 17:26:51 +00:00
build.sh : permission error fix
This commit is contained in:
parent
d3a9c5aa12
commit
fc2231df5b
4
build.sh
4
build.sh
@ -52,8 +52,8 @@ tar xzf nginx-1.23.2.tar.gz && cd nginx-1.23.2
|
|||||||
if [[ -f "/usr/bin/curl" ]]; then
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user