[pacman-dev] [PATCH] pacman.conf: Fixup the XferCommand example for curl

Allan McRae allan at archlinux.org
Mon Jun 4 11:31:58 UTC 2018


On 04/06/18 06:01, Luke Shumaker wrote:
> From: Luke Shumaker <lukeshu at parabola.nu>
> 
>  1. Without `-L`, curl doesn't follow redirects.  This is different than
>     both the default behavior of pacman, and from the wget example.  So add
>     `-L`.
> 
>  2. It uses `-C -` to supposedly allow resuming partial downloads; but that
>     doesn't work if we use `> %o` to direct the output to the file.
>     Instead, use `-o %o` so that `-C -` actually works.
> 
> Signed-off-by: Luke Shumaker <lukeshu at parabola.nu>
> ---


OK.

Allan


More information about the pacman-dev mailing list