diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-09-07 16:01:43 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-11 19:09:04 -0500 |
commit | d8eacae7bc1465b725e6b1c3b7ad8c27c52437f4 (patch) | |
tree | 48ae4bfe0603802c0f298f4da01cd108b090b668 /m4 | |
parent | befddfc3e6a1f61b0bb2b6c377f3a394a7620b81 (diff) | |
download | pacman-d8eacae7bc1465b725e6b1c3b7ad8c27c52437f4.tar.xz |
make compute_download_size consider .part files
Check for the existance of a partial download of a package file before
jumping to delta calculations. Currently, if there were 10MiB remaining
in a 100MiB the values passed to the front end do not reflect this.
Refactored from an old patch originally by Dan.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions