ZeroTier One: Fix install output (#8179)
This commit is contained in:
parent
a127124080
commit
659ea81740
@ -14,9 +14,13 @@ network_check
|
||||
update_os
|
||||
|
||||
msg_info "Setting up Zerotier-One"
|
||||
curl -fsSL 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/main/doc/contact%40zerotier.com.gpg' | gpg --import &&
|
||||
if z="$(curl -fsSL 'https://install.zerotier.com/' | gpg)"; then
|
||||
echo "$z" | sudo bash
|
||||
curl -fsSL https://raw.githubusercontent.com/zerotier/ZeroTierOne/main/doc/contact%40zerotier.com.gpg | gpg --import >/dev/null 2>&1
|
||||
curl -fsSL https://install.zerotier.com -o /tmp/zerotier-install.sh
|
||||
if gpg --verify /tmp/zerotier-install.sh >/dev/null 2>&1; then
|
||||
$STD bash /tmp/zerotier-install.sh
|
||||
else
|
||||
msg_warn "Could not verify signature of Zerotier-One install script. Exiting..."
|
||||
exit 1
|
||||
fi
|
||||
msg_ok "Setup Zerotier-One"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user