diff --git a/lxc/nginx-proxy-manager/install/debian.sh b/lxc/nginx-proxy-manager/install/debian.sh index 3f27c2d..709108c 100644 --- a/lxc/nginx-proxy-manager/install/debian.sh +++ b/lxc/nginx-proxy-manager/install/debian.sh @@ -106,7 +106,7 @@ runcmd npm install --global yarn # Get latest version information for nginx-proxy-manager log "Checking for latest NPM release" runcmd 'wget $WGETOPT -O ./_latest_release $NPMURL/releases/latest' -_latest_version=$(basename $(cat ./_latest_release | grep -wo "NginxProxyManager/.*.tar.gz") .tar.gz | cut -d'v' -f2) +_latest_version=$(cat ./_latest_release | grep -Po '(?<=expanded_assets/v)[^"]+') # Download nginx-proxy-manager source log "Downloading NPM v$_latest_version"