Move database 'version' check to registration time
commit1150d9e15aaea2ae1f259995d11442f491ef0af7
authorDan McGee <dan@archlinux.org>
Thu, 21 Apr 2011 00:54:01 +0000 (20 19:54 -0500)
committerDan McGee <dan@archlinux.org>
Fri, 24 Jun 2011 08:31:32 +0000 (24 03:31 -0500)
tree537cb6094479710207aea562fed48bc48deb184b
parentdb3b86e7f34f4c3ccb42e98465f2069aa642a85f
Move database 'version' check to registration time

This is another step toward doing both local database validation
(ensuring we don't have depends files) and sync database validation (via
signatures if present) when the database is registered.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/alpm.c
lib/libalpm/be_local.c
lib/libalpm/be_sync.c
lib/libalpm/db.c
lib/libalpm/db.h
lib/libalpm/trans.c
src/pacman/conf.c
src/pacman/util.c