curl-wget-check
authorMilan Zamazal <pdm@debian.org>
Sat, 11 Nov 2023 20:21:24 +0000 (21:21 +0100)
committerMilan Zamazal <pdm@debian.org>
Sat, 11 Nov 2023 20:21:24 +0000 (21:21 +0100)
===================================================================

Gbp-Pq: Name curl-wget-check.patch

src/Makefile

index 4eb209870fb1449915aa0a0fab5e065c9072a777..d39500716a5d4a5916bc1b91fe637789a9d20f8e 100644 (file)
@@ -874,9 +874,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 "Neither curl nor wget is installed. Install one of these tools unless the net has been downloaded manually"; \
-        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"; \