Publish Neo Roundtable 0.6.0 (592b9cb9300330252653da69e8b58c4490f01fdc)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
set +x
|
||||
umask 077
|
||||
if ! { : </dev/tty; } 2>/dev/null; then echo 'A terminal is required for installation.' >&2; exit 1; fi
|
||||
command -v curl >/dev/null || { echo 'Install curl first.' >&2; exit 1; }
|
||||
parent=${TMPDIR:-/tmp}
|
||||
[[ ! -d /dev/shm || ! -w /dev/shm ]] || parent=/dev/shm
|
||||
staging=$(mktemp -d "$parent/neo-bootstrap.XXXXXXXX")
|
||||
trap 'rm -rf -- "$staging"' EXIT
|
||||
curl --proto '=https' --proto-redir '=https' -fsSL https://git.sn-s.net/neo/neo-roundtable/raw/branch/main/neo-admin -o "$staging/neo-admin"
|
||||
bash "$staging/neo-admin" install
|
||||
Reference in New Issue
Block a user