summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/create/pkg_create.1
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>1998-06-26 07:15:38 +0000
committerjkoshy <jkoshy@FreeBSD.org>1998-06-26 07:15:38 +0000
commiteae9bbe9696a229aec50c0aa947db85856fb907c (patch)
tree0c7c5c46acc9c10fed3c411dd12186b83bb4349d /usr.sbin/pkg_install/create/pkg_create.1
parentfb3dfdf6bc46bed23f4364308de13cbec4ad1d49 (diff)
downloadFreeBSD-src-eae9bbe9696a229aec50c0aa947db85856fb907c.zip
FreeBSD-src-eae9bbe9696a229aec50c0aa947db85856fb907c.tar.gz
Document environment variables used by pkg_{add,create,info}. These
include PKG_TMPDIR, TMPDIR, PKG_DBDIR. Add a FILES section to these manual pages. PR: docs/7064
Diffstat (limited to 'usr.sbin/pkg_install/create/pkg_create.1')
-rw-r--r--usr.sbin/pkg_install/create/pkg_create.136
1 files changed, 35 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/create/pkg_create.1 b/usr.sbin/pkg_install/create/pkg_create.1
index a78e0d6..eaec8fb 100644
--- a/usr.sbin/pkg_install/create/pkg_create.1
+++ b/usr.sbin/pkg_install/create/pkg_create.1
@@ -15,7 +15,7 @@
.\"
.\"
.\" @(#)pkg_create.1
-.\" $Id: pkg_create.1,v 1.24 1998/03/23 08:27:14 charnier Exp $
+.\" $Id: pkg_create.1,v 1.25 1998/05/24 03:11:17 steve Exp $
.\"
.\" hacked up by John Kohl for NetBSD--fixed a few bugs, extended keywords,
.\" added dependency tracking, etc.
@@ -359,6 +359,40 @@ package is deinstalled. Multiple
.Cm @pkgdep
directives may be used if the package depends on multiple other packages.
.El
+.Sh ENVIRONMENT
+The environment variable
+.Ev PKG_TMPDIR
+names the directory where
+.Nm
+will attempt to create its temporary files.
+If
+.Ev PKG_TMPDIR
+is not set,
+the directory named by the contents of
+.Ev TMPDIR
+will be used.
+If neither of
+.Ev PKG_TMPDIR
+and
+.Ev TMPDIR
+are set, the builtin defaults are used.
+.Sh FILES
+.Bl -tag -width /usr/tmp -compact
+.It Pa /var/tmp
+Temporary directory if environmental variables
+.Ev PKG_TMPDIR
+and
+.Ev TMPDIR
+are not set.
+.It Pa /tmp
+The next choice if
+.Pa /var/tmp
+does not exist.
+.It Pa /usr/tmp
+The last choice if
+.Pa /tmp
+is unsuitable.
+.El
.Sh SEE ALSO
.Xr pkg_add 1 ,
.Xr pkg_delete 1 ,
OpenPOWER on IntegriCloud