diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-09-07 22:01:43 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-12 02:09:04 +0200 |
commit | d8eacae7bc1465b725e6b1c3b7ad8c27c52437f4 (patch) | |
tree | 48ae4bfe0603802c0f298f4da01cd108b090b668 /scripts/pacman-db-upgrade.sh.in | |
parent | befddfc3e6a1f61b0bb2b6c377f3a394a7620b81 (diff) | |
download | pacman-d8eacae7bc1465b725e6b1c3b7ad8c27c52437f4.tar.gz 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 'scripts/pacman-db-upgrade.sh.in')
0 files changed, 0 insertions, 0 deletions