Update npm_setup.sh

pull/40/head
tteckster 2022-02-19 10:31:25 -05:00 committed by GitHub
parent 24e13ac931
commit e09fe60781
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -87,9 +87,9 @@ sudo apt-get install -y nodejs git make g++ gcc &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Installing Yarn... \e[0m"
npm install --global yarn &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Downloading NPM v2.9.15... \e[0m"
wget -q https://codeload.github.com/NginxProxyManager/nginx-proxy-manager/tar.gz/v2.9.15 -O - | tar -xz &>/dev/null
cd ./nginx-proxy-manager-2.9.15
echo -e "${CHECKMARK} \e[1;92m Downloading NPM v2.9.16... \e[0m"
wget -q https://codeload.github.com/NginxProxyManager/nginx-proxy-manager/tar.gz/v2.9.16 -O - | tar -xz &>/dev/null
cd ./nginx-proxy-manager-2.9.16
echo -e "${CHECKMARK} \e[1;92m Setting up Enviroment... \e[0m"
ln -sf /usr/bin/python3 /usr/bin/python
@ -97,8 +97,8 @@ ln -sf /usr/bin/certbot /opt/certbot/bin/certbot
ln -sf /usr/local/openresty/nginx/sbin/nginx /usr/sbin/nginx
ln -sf /usr/local/openresty/nginx/ /etc/nginx
sed -i "s+0.0.0+#v2.9.15+g" backend/package.json
sed -i "s+0.0.0+#v2.9.15+g" frontend/package.json
sed -i "s+0.0.0+#v2.9.16+g" backend/package.json
sed -i "s+0.0.0+#v2.9.16+g" frontend/package.json
sed -i 's+^daemon+#daemon+g' docker/rootfs/etc/nginx/nginx.conf
NGINX_CONFS=$(find "$(pwd)" -type f -name "*.conf")