diff options
author | Dan McGee <dan@archlinux.org> | 2010-11-05 04:11:00 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-11-05 04:11:00 +0100 |
commit | fcc6d98bc438ea917c757ee1a565a5dba625f333 (patch) | |
tree | 69275d1942d6a8ef73f9dfaafd955f900d275f62 /templates | |
parent | 01cb0348e30b31c15a4bebbe3ecfb4605509d29d (diff) | |
download | archweb-fcc6d98bc438ea917c757ee1a565a5dba625f333.tar.gz archweb-fcc6d98bc438ea917c757ee1a565a5dba625f333.tar.xz |
reporead: fix small issues when loading files databases
We didn't verify that the version in the files database was the same as in
the SQL side of things, so we could load old files for a new package and
lose track of this fact. When loading files, ensure the database version
matches the version in the package before continuing with the file load
operation.
There are also a few other small updates in here, like skipping the sanity
check for filesonly as we never delete packages, and removing some
unnecessary string concatenation operations.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions