nginx_build_script: fix: remove Nginx binary

This commit is contained in:
minoplhy 2024-04-29 00:41:40 +07:00
parent 05a452ac4b
commit 1043e10204
Signed by: minoplhy
GPG Key ID: 41D406044E2434BF

View File

@ -286,7 +286,6 @@ if [[ $Nginx_Install == "yes" || $INSTALL == true ]]; then
mkdir -p /lib/nginx/ && mkdir -p /lib/nginx/modules mkdir -p /lib/nginx/ && mkdir -p /lib/nginx/modules
mkdir -p /etc/nginx && mkdir -p /etc/nginx/sites-enabled && mkdir -p /etc/nginx/modules-enabled mkdir -p /etc/nginx && mkdir -p /etc/nginx/sites-enabled && mkdir -p /etc/nginx/modules-enabled
cp $HOMEDIRECTORY/nginx/objs/*.so /lib/nginx/modules cp $HOMEDIRECTORY/nginx/objs/*.so /lib/nginx/modules
rm /usr/sbin/nginx
cp $HOMEDIRECTORY/nginx/objs/nginx /usr/sbin/nginx cp $HOMEDIRECTORY/nginx/objs/nginx /usr/sbin/nginx
cat >modules.conf <<EOL cat >modules.conf <<EOL