diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-01-31 23:37:44 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-01-31 23:37:44 +0000 |
commit | 9746560c222f7af5beb202e09ad90987dc68a75e (patch) | |
tree | c88adc8dd00a24f32913af974cf1716d41ffc3ad | |
parent | 43da58f54dec616ccd50ab99002fc8bdc560595d (diff) | |
download | simplepkg-9746560c222f7af5beb202e09ad90987dc68a75e.tar.gz simplepkg-9746560c222f7af5beb202e09ad90987dc68a75e.tar.bz2 |
simplaret: more file retrieval enhancements
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@138 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r-- | lib/common.sh | 8 |
1 files changed, 4 insertions, 4 deletions
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 |