diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2018-06-03 22:01:32 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-06-18 05:15:51 +0200 |
commit | b37a6063d0d37eb16465693439e3dfb92409e44a (patch) | |
tree | 6c301f79905afac65abb9bf27d3cbe61673a11eb /test | |
parent | f78914cc6e3d431ec585c29e469a91121d90a5cf (diff) | |
download | pacman-b37a6063d0d37eb16465693439e3dfb92409e44a.tar.gz pacman-b37a6063d0d37eb16465693439e3dfb92409e44a.tar.xz |
pacman.conf: Fixup the XferCommand example for curl
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@parabola.nu>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions