I should test code before I check it in. Also a fix for the annoying wget output in PKGBUILD bug.

This commit is contained in:
Dan McGee 2007-02-06 21:20:20 +00:00
parent 79c277a218
commit b03a2388a3

View file

@ -633,7 +633,7 @@ for netfile in ${source[@]}; do
exit 1 exit 1
fi fi
msg2 "Downloading $file" msg2 "Downloading $file"
$FTPAGENT "$netfile" 2>&1 $FTPAGENT "$netfile"
# fix flyspray bug #3289 # fix flyspray bug #3289
ftpret=$? ftpret=$?
if [ $ftpret -gt 0 ]; then if [ $ftpret -gt 0 ]; then
@ -750,8 +750,8 @@ else
# START REMOVE # START REMOVE
# TODO remove this with release of file v4.20, temp bugfix # TODO remove this with release of file v4.20, temp bugfix
*application/empty*) *application/empty*)
cmd="tar -xf $file" ;; cmd="tar -xf $file"
warning "file had trouble detecting type, assuming tar" warning "file had trouble detecting type, assuming tar" ;;
# END REMOVE # END REMOVE
*application/x-tar*) *application/x-tar*)
cmd="tar -xf $file" ;; cmd="tar -xf $file" ;;