2020-11-04 16:50:28 +00:00
|
|
|
#!/usr/bin/env sh
|
2021-05-13 07:57:59 +00:00
|
|
|
set -euo pipefail
|
2021-05-13 08:42:12 +00:00
|
|
|
trap 'rm -rf $TMP' EXIT SIGINT SIGTERM
|
2020-11-04 16:50:28 +00:00
|
|
|
|
2021-05-13 08:42:12 +00:00
|
|
|
TMP=/tmp/npm_install.sh
|
|
|
|
URL=https://raw.githubusercontent.com/ej52/proxmox/main/lxc/nginx-proxy-manager/install.sh
|
2020-11-04 16:50:28 +00:00
|
|
|
|
2021-05-13 08:42:12 +00:00
|
|
|
rm -rf $TMP
|
|
|
|
wget -q -O "$TMP" "$URL"
|
2020-11-04 16:50:28 +00:00
|
|
|
|
2021-05-13 08:42:12 +00:00
|
|
|
chmod +x "$TMP"
|
|
|
|
sh "$TMP"
|
2020-11-04 16:50:28 +00:00
|
|
|
|