From f95080884ca4b9a952ef02057c0c62cf2228f79e Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 28 Jan 2011 11:58:21 -0600 Subject: Enable failure on server error for curl download command This will make a 404 a silent failure that returns an error code rather than 0 as was previously done, screwing up the logic used by pacman/libalpm to allow moving onto the next server on a failed download. Fixes FS#22630. Signed-off-by: Dan McGee --- etc/pacman.conf.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/pacman.conf.in b/etc/pacman.conf.in index 32071196..087e21c9 100644 --- a/etc/pacman.conf.in +++ b/etc/pacman.conf.in @@ -17,7 +17,7 @@ HoldPkg = pacman glibc # If upgrades are available for these packages they will be asked for first SyncFirst = pacman #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u -#XferCommand = /usr/bin/curl -C - %u > %o +#XferCommand = /usr/bin/curl -C - -f %u > %o #CleanMethod = KeepInstalled Architecture = auto -- cgit v1.2.3-54-g00ecf