summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2021-10-29 22:56:09 +0800
committerruki <[email protected]>2021-10-29 22:56:09 +0800
commit72e8db58ba933ab481929525a3c524a316ff4251 (patch)
tree091e603780c10f0dd68f33a562204752a1dfaf8c /scripts
parentc8fc101fa5289a657dca1fdfe8a3b6195cfe3776 (diff)
fix get.sh for nixos
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get.sh2
1 files changed, 1 insertions, 1 deletions
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