summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2015-12-05 11:46:08 +0100
committerAllan McRae <allan@archlinux.org>2015-12-05 15:15:35 +0100
commit8ee084dbb33a9a9fee77376f5fac07f331a24ef8 (patch)
tree4e888a17fa665e964d8f60efa0d5358602f7ddb1 /contrib
parentd069d9714af61749666ca4caa31ef66cfa35ee86 (diff)
downloadpacman-8ee084dbb33a9a9fee77376f5fac07f331a24ef8.tar.gz
pacman-8ee084dbb33a9a9fee77376f5fac07f331a24ef8.tar.xz
db_update: always clear db flags after update
Signature downloading and DB validation was being based on the most recent download status for the DB. If a DB successfully downloaded but a signature did not, db_update would move to the next server. If the next server tried does not have a more recent copy of the DB, db_update would not download the DB again and would forget that the DB had previously been updated. In this case it would skip validation entirely, leaving an updated DB with the original validation status. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions