Home
last modified time | relevance | path

Searched refs:pkgloc (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dquit.c65 extern char pkgloc[];
323 if (!installStarted && pkgloc[0]) { in quit()
328 echoDebug(DBG_QUIT_REMOVING_PKGDIR, pkgloc); in quit()
331 if (pkgloc[0]) { in quit()
332 (void) rrmdir(pkgloc); in quit()
345 if (pkgloc[0] && !access(pkgloc, F_OK)) in quit()
346 (void) rrmdir(pkgloc); in quit()
347 if (rename(pkgloc_sav, pkgloc) == -1) { in quit()
349 pkgloc_sav, pkgloc); in quit()
H A Dmain.c142 char pkgloc[PATH_MAX]; variable
1395 (void) snprintf(pkgloc, sizeof (pkgloc), in main()
1399 "%s/install", pkgloc); in main()
1402 "%s/save", pkgloc); in main()
1412 "%s/!I-Lock!", pkgloc); in main()
1414 "%s/!R-Lock!", pkgloc); in main()
2242 "%s/%s", pkgloc, PKGINFO); in ck_instbase()
2298 if (!in_dryrun_mode() && pkgloc[0] && !access(pkgloc, F_OK)) { in mv_pkgdirs()
2306 if (rename(pkgloc, pkgloc_sav) == -1) { in mv_pkgdirs()
2307 progerr(ERR_PKGBINREN, pkgloc, pkgloc_sav); in mv_pkgdirs()
[all …]
H A Dmerginfo.c46 extern char instdir[], pkgbin[], pkgloc[], savlog[], *pkginst, **environ;
197 i = snprintf(path, PATH_MAX, "%s/%s", pkgloc, PKGINFO); in merginfo()
199 progerr(ERR_CREATE_PATH_2, pkgloc, PKGINFO); in merginfo()
211 pkgloc ? pkgloc : "??", is_spool_create(), in merginfo()
H A Dcheck.c55 tmpdir[], pkgloc[], pkgloc_sav[], pkgbin[], pkgsav[],
612 if (access(pkgloc, F_OK) != 0) { in ckpkgdirs()
616 if (mkpath(pkgloc)) { in ckpkgdirs()
618 (void) fprintf(stdout, "ckdirs=%s\n", pkgloc); in ckpkgdirs()
620 progerr(gettext(MSG_MKPKGDIR), pkgloc); in ckpkgdirs()
653 rrmdir(pkgloc); in ckpkgdirs()
H A Ddockspace.c55 extern char pkgloc[];
218 (void) sprintf(tpath, "%s/%s", pkgloc, ept->path); in readmap()
220 (void) sprintf(tpath, "%s/install/%s", pkgloc, in readmap()
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmain.c149 char pkgloc[PATH_MAX]; variable
591 (void) snprintf(pkgloc, sizeof (pkgloc), "%s/%s", in main()
593 if (!isdir(pkgloc) && !overwrite) { in main()
594 progerr(gettext(ERR_OVERWRITE), pkgloc); in main()
613 (void) rrmdir(pkgloc); in main()
614 if (mkdir(pkgloc, 0755)) { in main()
615 progerr(gettext(ERR_MKDIR), pkgloc); in main()
665 (void) rrmdir(pkgloc); in main()
666 if (mkdir(pkgloc, 0555)) { in main()
667 progerr(gettext(ERR_MKDIR), pkgloc); in main()
[all …]
H A Dquit.c42 extern char pkgloc[], *t_pkgmap, *t_pkginfo;
64 (void) rrmdir(pkgloc); /* clean up output directory */ in quit()
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/
H A Dmain.c111 char pkgloc[PATH_MAX]; variable
599 (void) snprintf(pkgloc, sizeof (pkgloc), "%s/%s", get_PKGLOC(), in main()
601 (void) snprintf(pkgbin, sizeof (pkgbin), "%s/install", pkgloc); in main()
602 (void) snprintf(rlockfile, sizeof (rlockfile), "%s/!R-Lock!", pkgloc); in main()
628 (void) snprintf(path, sizeof (path), "%s/pkginfo", pkgloc); in main()
1061 if (rrmdir(pkgloc)) in main()
H A Dcheck.c53 extern char pkgloc[], *pkginst, *msgtext;
217 (void) snprintf(path, sizeof (path), "%s/install", pkgloc); in rckpriv()