mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-01 01:41:52 -05:00

The db variable was left unset when calling alpm_db_register, leading to a failure to ever register a sync db. Also added a check to ensure DBPath was set when trying to register a database. Signed-off-by: Dan McGee <dan@archlinux.org>