curl-wget-check
authorMilan Zamazal <pdm@debian.org>
Mon, 5 Dec 2022 18:54:27 +0000 (18:54 +0000)
committerMilan Zamazal <pdm@debian.org>
Mon, 5 Dec 2022 18:54:27 +0000 (18:54 +0000)
===================================================================

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

src/Makefile

index db48421c545052e6f7e8d0351af64d8d256b957c..a59a16464e72d616c0ad15a9c71a9c9279222e8d 100644 (file)
@@ -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"; \