diff options
author | Allan McRae <allan@archlinux.org> | 2020-01-23 01:47:02 +0100 |
---|---|---|
committer | Andrew Gregory <andrew@archlinux.org> | 2020-06-18 10:42:34 +0200 |
commit | d61c398b2cb3ec41e62a6e258b5791d0ce9de720 (patch) | |
tree | 398c714fdab5f5a0b095db08f7b86e3a24d21907 /proto | |
parent | 7faa79526874c09fc89fb769744d103bc4918e17 (diff) | |
download | pacman-d61c398b2cb3ec41e62a6e258b5791d0ce9de720.tar.gz pacman-d61c398b2cb3ec41e62a6e258b5791d0ce9de720.tar.xz |
Fix "pacman -U <url>" operations
Commit e6a6d307 detected complete part files by comparing a payload's
max_size to initial_size. However, these values are also equal when we
use pacman -U on a URL as max_size is set to 0 in that case. Add a further
condition to avoid that.
Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit e54617c7d554e0c14c039432b5f7bef66e43769c)
Diffstat (limited to 'proto')
0 files changed, 0 insertions, 0 deletions