mirror of https://github.com/tteck/Proxmox.git
Update npm_setup.sh
This commit is contained in:
parent
24e13ac931
commit
e09fe60781
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue