Update nginxproxymanager-v5.sh

fix update
This commit is contained in:
tteckster 2023-03-16 08:26:26 -04:00 committed by GitHub
parent 2d47b876b2
commit 78831d5bde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -357,8 +357,6 @@ 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"