fix curl commands (#3568)

This commit is contained in:
Tobias
2025-04-01 17:55:14 +02:00
committed by GitHub
parent af5809c888
commit 2a28807d8f
9 changed files with 23 additions and 23 deletions

View File

@@ -20,7 +20,7 @@ msg_ok "Installed Dependencies"
msg_info "Installing IPFS"
RELEASE=$(curl -fsSL https://github.com/ipfs/kubo/releases/latest | grep "title>Release" | cut -d " " -f 4)
$STD curl -fsSL "https://github.com/ipfs/kubo/releases/download/${RELEASE}/kubo_${RELEASE}_linux-amd64.tar.gz" -O
$STD curl -fsSL "https://github.com/ipfs/kubo/releases/download/${RELEASE}/kubo_${RELEASE}_linux-amd64.tar.gz" -o "kubo_${RELEASE}_linux-amd64.tar.gz"
tar -xzf "kubo_${RELEASE}_linux-amd64.tar.gz" -C /usr/local
$STD ln -s /usr/local/kubo/ipfs /usr/local/bin/ipfs
$STD ipfs init