From 4bf31c7dee1d3cae764ffb09ba7a233380c3a3d2 Mon Sep 17 00:00:00 2001 From: Milan Zamazal Date: Mon, 5 Dec 2022 18:54:27 +0000 Subject: [PATCH] curl-wget-check =================================================================== Gbp-Pq: Name curl-wget-check.patch --- src/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index db48421..a59a164 100644 --- a/src/Makefile +++ b/src/Makefile @@ -848,9 +848,6 @@ net: $(eval nnuedownloadurl1 := https://tests.stockfishchess.org/api/nn/$(nnuenet)) $(eval nnuedownloadurl2 := https://github.com/official-stockfish/networks/raw/master/$(nnuenet)) $(eval curl_or_wget := $(shell if hash curl 2>/dev/null; then echo "curl -skL"; elif hash wget 2>/dev/null; then echo "wget -qO-"; fi)) - @if [ "x$(curl_or_wget)" = "x" ]; then \ - echo "Automatic download failed: neither curl nor wget is installed. Install one of these tools or download the net manually"; exit 1; \ - fi $(eval shasum_command := $(shell if hash shasum 2>/dev/null; then echo "shasum -a 256 "; elif hash sha256sum 2>/dev/null; then echo "sha256sum "; fi)) @if [ "x$(shasum_command)" = "x" ]; then \ echo "shasum / sha256sum not found, skipping net validation"; \ -- 2.30.2