summaryrefslogtreecommitdiffstats
path: root/infest
diff options
context:
space:
mode:
Diffstat (limited to 'infest')
-rwxr-xr-xinfest4
1 files changed, 2 insertions, 2 deletions
diff --git a/infest b/infest
index 4b65d005..814b4cbd 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