1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-03-01 09:51:50 -05:00
Dan McGee c748eadc80 Allow invalid sync DBs to be returned by the library
They are placeholders, but important for things like trying to re-sync a
database missing a signature. By using the alpm_db_validity() method at
the right time, a client can take the appropriate action with these
invalid databases as necessary.

In pacman's case, we disallow just about anything that involves looking
at a sync database outside of an '-Sy' operation (although we do check
the validity immediately after). A few operations are still permitted-
'-Q' ops that don't touch sync databases as well as '-R'.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05 10:13:20 -05:00
..
2011-07-02 02:01:39 +10:00
2011-06-28 14:04:00 +10:00
2011-07-03 13:42:24 -05:00
2011-07-03 13:42:24 -05:00
2011-07-02 02:01:39 +10:00
2011-06-28 23:28:23 +10:00
2011-06-28 23:28:23 +10:00
2011-06-28 14:04:00 +10:00
2011-06-28 14:04:00 +10:00
2011-06-28 23:28:24 +10:00
2011-06-28 23:28:24 +10:00
2011-07-02 02:01:39 +10:00
2011-06-28 23:28:24 +10:00
2008-06-03 21:31:31 -05:00
2011-06-28 23:28:24 +10:00
2011-06-28 23:28:24 +10:00
2011-06-28 23:26:39 +10:00
2011-06-28 14:04:00 +10:00
2011-07-02 02:01:39 +10:00
2011-03-20 19:49:45 -05:00