]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
simplaret: more file retrieval enhancements
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 31 Jan 2007 23:37:44 +0000 (23:37 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 31 Jan 2007 23:37:44 +0000 (23:37 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@138 04377dda-e619-0410-9926-eae83683ac58

lib/common.sh

index 5b2df9e97bc6cefcd30560ad42b5cc879304571a..4bfb381ec796d58a352c3970f926f622e53003e2 100644 (file)
@@ -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