diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2015-12-05 05:46:08 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-12-06 00:15:35 +1000 |
commit | 8ee084dbb33a9a9fee77376f5fac07f331a24ef8 (patch) | |
tree | 4e888a17fa665e964d8f60efa0d5358602f7ddb1 /src/common | |
parent | d069d9714af61749666ca4caa31ef66cfa35ee86 (diff) |
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 'src/common')
0 files changed, 0 insertions, 0 deletions