mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-28 09:33:13 +02:00
Update nginxproxymanager-v5.sh
fix update
This commit is contained in:
parent
2d47b876b2
commit
78831d5bde
@ -356,9 +356,7 @@ function update_script() {
|
|||||||
header_info
|
header_info
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/NginxProxyManager/nginx-proxy-manager/releases/latest |
|
RELEASE=$(curl -s https://api.github.com/repos/NginxProxyManager/nginx-proxy-manager/releases/latest |
|
||||||
grep "tag_name" |
|
grep "tag_name" |
|
||||||
awk '{print substr($2, 3, length($2)-4) }')
|
awk '{print substr($2, 3, length($2)-4) }')
|
||||||
echo -e "Please wait until new version ${RELEASE} is confirmed working"
|
|
||||||
exit
|
|
||||||
msg_info "Stopping Services"
|
msg_info "Stopping Services"
|
||||||
systemctl stop openresty
|
systemctl stop openresty
|
||||||
systemctl stop npm
|
systemctl stop npm
|
||||||
@ -454,6 +452,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
cd /app
|
cd /app
|
||||||
export NODE_ENV=development
|
export NODE_ENV=development
|
||||||
|
sed -i 's/"liquidjs": "\^12\.9\.20",/"liquidjs": "\^10.6.1",/g' package.json
|
||||||
yarn install --network-timeout=30000 &>/dev/null
|
yarn install --network-timeout=30000 &>/dev/null
|
||||||
msg_ok "Initialized Backend"
|
msg_ok "Initialized Backend"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user