summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-05-20 16:39:28 +0200
committertv <tv@krebsco.de>2015-05-20 16:39:28 +0200
commit673ffa030e4af2bc7a9efeafc13725ecb4ad9fc9 (patch)
treed9bce176fd2e4dc0859373e145ea9f081a5a287a
parentd2030af9e2cd455c91c80e8aa736222e469991a6 (diff)
infest: s/wget/curl/
-rwxr-xr-xinfest4
1 files changed, 2 insertions, 2 deletions
diff --git a/infest b/infest
index 4b65d00..814b4cb 100755
--- a/infest
+++ b/infest
@@ -112,9 +112,9 @@ infest_centos7_64bit() {
#curl https://nixos.org/nix/install | sh
nix_tar=$nix_basename.tar.bz2
if ! echo $nix_sha256 $nix_tar | sha256sum -c; then
- wget -c $nix_url || :
+ curl -O -C - $nix_url || :
if ! echo $nix_sha256 $nix_tar | sha256sum -c; then
- wget $nix_url || :
+ curl -O $nix_url || :
if ! echo $nix_sha256 $nix_tar | sha256sum -c; then
echo $0: cannot download $nix_url >&2
exit 5