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,10 +14,14 @@ network_check
update_os update_os
msg_info "Setting up Zerotier-One" msg_info "Setting up Zerotier-One"
curl -fsSL 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/main/doc/contact%40zerotier.com.gpg' | gpg --import && curl -fsSL https://raw.githubusercontent.com/zerotier/ZeroTierOne/main/doc/contact%40zerotier.com.gpg | gpg --import >/dev/null 2>&1
if z="$(curl -fsSL 'https://install.zerotier.com/' | gpg)"; then curl -fsSL https://install.zerotier.com -o /tmp/zerotier-install.sh
echo "$z" | sudo bash if gpg --verify /tmp/zerotier-install.sh >/dev/null 2>&1; then
fi $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" msg_ok "Setup Zerotier-One"
msg_info "Setting up UI" msg_info "Setting up UI"