diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2019-01-21 20:28:33 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2019-01-21 21:58:00 +0100 |
commit | 44af2b430f4d676b8498b726e50c969fa37955db (patch) | |
tree | f4d0d7e48c9b8fd5a92ac71cf26983bf5c6aaaa9 /web/template/pkgreq_results.php | |
parent | 042f3f2622e1adbc7546cfa25a5d138486b99341 (diff) | |
download | aur-44af2b430f4d676b8498b726e50c969fa37955db.tar.gz aur-44af2b430f4d676b8498b726e50c969fa37955db.tar.xz |
aurblup: make provider updates more robust
Reverse the order of deletion and addition so that deletion comes first.
This prevents corner cases such as failing unique key constraints when a
provided package changes from lower case to upper case and the old name
is not yet gone.
Helped-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/template/pkgreq_results.php')
0 files changed, 0 insertions, 0 deletions