Lines Matching refs:pkgloc
138 char pkgloc[PATH_MAX];
1391 (void) snprintf(pkgloc, sizeof (pkgloc),
1395 "%s/install", pkgloc);
1398 "%s/save", pkgloc);
1408 "%s/!I-Lock!", pkgloc);
1410 "%s/!R-Lock!", pkgloc);
1970 * copy contents of 'install' directory into $pkgloc
2238 "%s/%s", pkgloc, PKGINFO);
2294 if (!in_dryrun_mode() && pkgloc[0] && !access(pkgloc, F_OK)) {
2302 if (rename(pkgloc, pkgloc_sav) == -1) {
2303 progerr(ERR_PKGBINREN, pkgloc, pkgloc_sav);
2367 "%s/%s", pkgloc, PKGINFO);
2598 (void) snprintf(pkgloc, sizeof (pkgloc),
2601 "%s/install", pkgloc);
2603 "%s/save", pkgloc);
2605 "%s/!I-Lock!", pkgloc);
2607 "%s/!R-Lock!", pkgloc);
2613 * If we are updating a pkg, then we need to copy the "old" pkgloc so that
2615 * copy it here to .save.pkgloc, then in quit() we can restore our state, or
2629 if (!in_dryrun_mode() && pkgloc[0] && !access(pkgloc, F_OK)) {
2642 "/usr/bin/cp", "cp", "-r", pkgloc, pkgloc_sav,
2646 progerr(ERR_PKGBINCP, pkgloc, pkgloc_sav);