infest: s/wget/curl/

This commit is contained in:
tv 2015-05-20 16:39:28 +02:00
parent 040bd36f8e
commit e734f3b8b7

4
infest
View File

@ -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