From 72e8db58ba933ab481929525a3c524a316ff4251 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 29 Oct 2021 22:56:09 +0800 Subject: fix get.sh for nixos --- scripts/get.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/get.sh b/scripts/get.sh index 4aa988526..834289767 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -40,7 +40,7 @@ remote_get_content() { if curl --version >/dev/null 2>&1 then curl -fSL "$1" - elif wget --version >/dev/null 2>&1 + elif wget --version >/dev/null 2>&1 || wget --help >/dev/null 2>&1 then wget "$1" -O - fi -- cgit v1.3.1