ZeroTier One: Fix install output (#8179)

This commit is contained in:
Slaviša Arežina 2025-10-08 06:44:57 +02:00 committed by GitHub
parent a127124080
commit 659ea81740
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"