gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.5k stars 552 forks source link

netclient-install.sh 404 error #726

Closed baudneo closed 2 years ago

baudneo commented 2 years ago

curl -sfL https://raw.githubusercontent.com/gravitl/netmaker/master/scripts/netclient-install.sh | sudo KEY=XXXXXXX

checking dependencies...
wireguard
     wireguard is installed
wireguard-tools
     wireguard-tools is installed
no $VERSION provided, fallback to latest
OS Version = Linux
Netclient Version = latest
Binary = netclient
Downloading netclient latest
https://github.com/gravitl/netmaker/releases/download/latest/netclient:
2022-02-09 20:45:05 ERROR 404: Not Found.
baudneo commented 2 years ago

Line 197 has this wget $curl_opts -O netclient https://github.com/gravitl/netmaker/releases/download/latest/$dist

When testing in a browser https://github.com/gravitl/netmaker/releases/latest/download/netclient worked for the browser to download the binary. So swapping /latest and /download makes for a successful download. Is that a mistype or has github done some weirdness with their URLs?