Commit 86ffcf81 authored by Julian Ospald's avatar Julian Ospald 🍵

Allow to use wget instead of curl, fixes #15

parent f71bf2fd
......@@ -131,6 +131,7 @@ FLAGS:
-v, --verbose Enable verbose output
-h, --help Prints help information
-V, --version Prints version information
-w, --wget Use wget instead of curl
SUBCOMMANDS:
install Install GHC
......@@ -1134,7 +1135,16 @@ while [ $# -gt 0 ] ; do
exit 0;;
-h|--help)
usage;;
*) case $1 in
-w|--wget)
DOWNLOADER="wget"
DOWNLOADER_OPTS=""
shift 1
if [ $# -lt 1 ] ; then
usage
fi
;;
*) # TODO: here comes command availability checking
case $1 in
install)
shift 1
while [ $# -gt 0 ] ; do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment