1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-11-28 09:33:13 +02:00

Update nginxproxymanager-v5-install.sh

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

View File

@ -139,10 +139,10 @@ RELEASE=$(curl -s https://api.github.com/repos/NginxProxyManager/nginx-proxy-man
grep "tag_name" | grep "tag_name" |
awk '{print substr($2, 3, length($2)-4) }') awk '{print substr($2, 3, length($2)-4) }')
msg_info "Downloading Nginx Proxy Manager v2.9.19" msg_info "Downloading Nginx Proxy Manager v$RELEASE"
wget -q https://codeload.github.com/NginxProxyManager/nginx-proxy-manager/tar.gz/v2.9.19 -O - | tar -xz wget -q https://codeload.github.com/NginxProxyManager/nginx-proxy-manager/tar.gz/v$RELEASE -O - | tar -xz
cd ./nginx-proxy-manager-2.9.19 cd ./nginx-proxy-manager-$RELEASE
msg_ok "Downloaded Nginx Proxy Manager v2.9.19" msg_ok "Downloaded Nginx Proxy Manager v$RELEASE"
msg_info "Setting up Enviroment" msg_info "Setting up Enviroment"
ln -sf /usr/bin/python3 /usr/bin/python ln -sf /usr/bin/python3 /usr/bin/python
@ -227,6 +227,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
$STD yarn install --network-timeout=30000 $STD yarn install --network-timeout=30000
msg_ok "Initialized Backend" msg_ok "Initialized Backend"