From 14d04aeaf2a2c5c0ccc5cee115d2e37db91ccc2e Mon Sep 17 00:00:00 2001 From: Elton Renda Date: Tue, 11 May 2021 09:01:18 +0200 Subject: [PATCH] Update setup.sh NPM v2.8.1 is the last version that used Alpine Linux, NPM > 2.9 is now using Debian which breaks setup --- lxc/nginx-proxy-manager/setup.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lxc/nginx-proxy-manager/setup.sh b/lxc/nginx-proxy-manager/setup.sh index 1fee64d..03333db 100644 --- a/lxc/nginx-proxy-manager/setup.sh +++ b/lxc/nginx-proxy-manager/setup.sh @@ -46,9 +46,12 @@ if [ -f /etc/init.d/npm ]; then fi # Get latest version information for nginx-proxy-manager -_latest_release=$(wget "$_npm_url/releases/latest" -q -O - | grep -wo "jc21/.*.tar.gz") -_latest_version=$(basename $_latest_release .tar.gz) -_latest_version=${_latest_version#v*} +#_latest_release=$(wget "$_npm_url/releases/latest" -q -O - | grep -wo "jc21/.*.tar.gz") +#_latest_version=$(basename $_latest_release .tar.gz) +#_latest_version=${_latest_version#v*} + +# 2.8.1 is the last version that used alpine linux +_latest_version=2.8.1 # Download nginx-proxy-manager source info "Downloading NPM v$_latest_version..."