From 5c7d3944cda03a29ae6349ec4bd058e405c3b8f4 Mon Sep 17 00:00:00 2001 From: rhatto Date: Tue, 23 Dec 2008 21:24:11 +0000 Subject: mkbuild: adding --update-manifest and other changes (see CHANGELOG) git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@707 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/simplaret | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'trunk/src/simplaret') diff --git a/trunk/src/simplaret b/trunk/src/simplaret index 7edd92a..a1ffe2d 100755 --- a/trunk/src/simplaret +++ b/trunk/src/simplaret @@ -98,7 +98,7 @@ function simplaret_download { local curl_timeout curl_passive_ftp curl_verbose local ncftpget_timeout ncftpget_passive_ftp - protocol="`echo $1 | cut -d : -f 1`" + protocol="`echo $1 | cut -d : -f 1 | tr '[:upper:]' '[:lower:]'`" file="`basename $2`" if [ ! -d "$3" ]; then @@ -117,7 +117,7 @@ function simplaret_download { echo "" fi - if [ "$protocol" == "http" ]; then + if [ "$protocol" == "http" ] || [ "$protocol" == "https" ]; then echo Getting $1/$2: if [ "$HTTP_TOOL" == "wget" ]; then -- cgit v1.2.3