1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

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