You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl -fsSL https://pkg.cloudflare.com/cloudflare-main.gpg | tee /usr/share/keyrings/cloudflare-main.gpg >/dev/null ||true
157
160
echo"deb [signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared any main"| tee /etc/apt/sources.list.d/cloudflared.list ||true
158
-
apt-get update
159
-
apt-get install -y cloudflared || warn "cloudflared installation failed; tunnel features will be unavailable"
161
+
162
+
# Attempt apt installation first
163
+
if apt-get update 2>&1| grep -q "pkg.cloudflare.com.*404";then
164
+
echo"warn: Cloudflare repository unreachable; attempting binary download from GitHub..."
165
+
# Fallback: download binary directly from GitHub releases
0 commit comments