libxbps: make check_is_installed_pkg_* use only find_virtualpkg_dict_installed.

xbps_find_virtualpkg_dict_installed() also finds real packages, so there's no
need to use both in xbps_check_is_installed_pkg_by_{name,pattern}.

Bump XBPS_API_VERSION.
This commit is contained in:
Juan RP committed 2011-10-30 16:24:56 +01:00
1 parent b09bd9740d
commit c5d6ccde46
2 files changed
+3 -7

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@
*/
#define XBPS_PKGINDEX_VERSION "1.2"
#define XBPS_API_VERSION "20111030-1"
#define XBPS_API_VERSION "20111030-2"
#define XBPS_VERSION "0.11.0"
/**