summaryrefslogtreecommitdiffstats
path: root/infest
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-05-20 16:39:28 +0200
committertv <tv@shackspace.de>2015-05-20 16:39:28 +0200
commite734f3b8b78c471ad40ecf762c12fbdf4b96a0da (patch)
treed9bce176fd2e4dc0859373e145ea9f081a5a287a /infest
parent040bd36f8ed80b7685b998dd8df42cebe55d51d9 (diff)
infest: s/wget/curl/
Diffstat (limited to 'infest')
-rwxr-xr-xinfest4
1 files changed, 2 insertions, 2 deletions
diff --git a/infest b/infest
index 4b65d0054..814b4cbd0 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