From b5716e128d5d5800c7324a4aef7c4a8f3fa1a468 Mon Sep 17 00:00:00 2001 From: Nevo Hed Date: Tue, 25 Jul 2017 14:27:22 -0400 Subject: [PATCH] Add curl fallback --- apt-cyg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apt-cyg b/apt-cyg index 84a2d5f..dbd6c64 100755 --- a/apt-cyg +++ b/apt-cyg @@ -122,6 +122,9 @@ function wget { if command wget -h &>/dev/null then command wget "$@" + elif command curl -h &>/dev/null + then + curl -O "$@" else warn wget is not installed, using lynx as fallback set "${*: -1}"