check_packages
if (check_packages(a_pkgList, a_pkgdir) != B_TRUE) {
static boolean_t check_packages(char **a_pkgList, char *a_packageDir);