Ensure PackageRequired works as expected
commit3e08614fda144393ab1ca23dcf08f2cd2f604cf9
authorDan McGee <dan@archlinux.org>
Wed, 7 Sep 2011 20:02:52 +0000 (7 15:02 -0500)
committerDan McGee <dan@archlinux.org>
Thu, 8 Sep 2011 01:51:35 +0000 (7 20:51 -0500)
tree57f5f04265023bb533284648c331c79687e38fe9
parent0e79802c0ac8453376d8c0f99629f5a3b499f571
Ensure PackageRequired works as expected

Changes in commit dc3336c277 caused this to stop working as expected for
sync packages, due to the way the logic is structured. Ensure we always
enter the signature code if the bitflag is flipped on to check
signatures for packages. Rename 'use_sig' to 'has_sig' for clarity.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/be_package.c