URL ,pattern needed changing to successfully download netclient
@@ -194,7 +194,7 @@ if curl --output /dev/null --silent --head --fail "$url"; then
wget $curl_opts -O netclient $url
else
echo "Downloading $dist latest"
- wget $curl_opts -O netclient https://github.com/gravitl/netmaker/releases/download/latest/$dist
+ wget $curl_opts -O netclient https://github.com/gravitl/netmaker/releases/latest/download/$dist
fi
chmod +x netclient