Introduce xbps_regpkgdb_foreach_pkg_cb() and use it in xbps-bin check.

This commit is contained in:
Juan RP
2011-12-22 14:25:27 +01:00
parent b232ca1815
commit 7bfcdee791
5 changed files with 103 additions and 54 deletions

View File

@@ -295,7 +295,7 @@ main(int argc, char **argv)
if (strcasecmp(argv[1], "all") == 0)
rv = check_pkg_integrity_all();
else
rv = check_pkg_integrity(argv[1]);
rv = check_pkg_integrity(NULL, argv[1]);
} else if (strcasecmp(argv[0], "autoupdate") == 0) {
/*