0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-21 17:36:59 -05:00

scripts/cli-docs: use only curl

This commit is contained in:
Earl Warren 2023-12-31 17:24:40 +01:00
parent 4d627f5420
commit 20080b5456
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -26,7 +26,7 @@ function download() {
return
fi
local version=$(latest)
wget -O ${FORGEJO} "https://codeberg.org/forgejo/forgejo/releases/download/${version}/forgejo-${version#v}-linux-amd64"
curl -sS "https://codeberg.org/forgejo/forgejo/releases/download/${version}/forgejo-${version#v}-linux-amd64" > ${FORGEJO}
chmod +x ${FORGEJO}
}