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
1 changed files with 2 additions and 3 deletions

View File

@ -356,9 +356,7 @@ function update_script() {
header_info
RELEASE=$(curl -s https://api.github.com/repos/NginxProxyManager/nginx-proxy-manager/releases/latest |
grep "tag_name" |
awk '{print substr($2, 3, length($2)-4) }')
echo -e "Please wait until new version ${RELEASE} is confirmed working"
exit
awk '{print substr($2, 3, length($2)-4) }')
msg_info "Stopping Services"
systemctl stop openresty
systemctl stop npm
@ -454,6 +452,7 @@ EOF
fi
cd /app
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
msg_ok "Initialized Backend"