Lines Matching refs:pkg
95 char **pkg = NULL;
361 pkg = gpkglist(pkgdir, all_pkgs, category);
362 if (pkg == NULL) {
366 for (pkgcnt = 0; pkg[pkgcnt] != NULL; pkgcnt++);
371 pkg = &argv[optind];
408 logerr(gettext(WRN_F_SPOOL), *pkg);
415 if (n = pkgtrans(device, spooldir, pkg, PT_SILENT,
419 pkg = gpkglist(spooldir, all_pkgs, category);
421 pkg = gpkglist(spooldir, all_pkgs, NULL);
425 pkg = gpkglist(spooldir,
426 pkgcnt ? pkg : all_pkgs, category);
428 pkg = gpkglist(spooldir,
429 pkgcnt ? pkg : all_pkgs, NULL);
434 * At this point pkg[] is the list of packages to check. They
437 if (pkg == NULL) {
449 for (n = 0; pkg[n]; n++) {
454 gettext(MSG_CHK_DIR), pkg[n], device);
457 gettext(MSG_CHK_STRM), pkg[n], device);
460 "%s/%s", spooldir, pkg[n]);
481 pkg[n], NULL, 0))
517 } else if (pkg[0] != NULL) {
519 pkg[0], NULL, 0)) {