From 9746560c222f7af5beb202e09ad90987dc68a75e Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 31 Jan 2007 23:37:44 +0000 Subject: simplaret: more file retrieval enhancements git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@138 04377dda-e619-0410-9926-eae83683ac58 --- lib/common.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/common.sh b/lib/common.sh index 5b2df9e..4bfb381 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -242,14 +242,14 @@ function eval_config { if [ "$FTP_TOOL" != "wget" ] || [ "$FTP_TOOL" != "curl" ] || [ "$FTP_TOOL" != "ncftpget" ]; then echo "$1 configuration error: invalid value $FTP_TOOL for config parameter FTP_TOOL" - echo "$1 assuming value \"wget\" for variable FTP_TOOL" - FTP_TOOL="wget" + echo "$1 assuming value \"curl\" for variable FTP_TOOL" + FTP_TOOL="curl" fi if [ "$HTTP_TOOL" != "wget" ] || [ "$HTTP_TOOL" != "curl" ]; then echo "$1 configuration error: invalid value $HTTP_TOOL for config parameter HTTP_TOOL" - echo "$1 assuming value \"wget\" for variable HTTP_TOOL" - HTTP_TOOL="wget" + echo "$1 assuming value \"curl\" for variable HTTP_TOOL" + HTTP_TOOL="curl" fi if which $SIMPLARET &> /dev/null; then -- cgit v1.2.3