diff options
author | 2017-05-18 12:29:54 +0000 | |
---|---|---|
committer | 2017-05-18 12:29:54 +0000 | |
commit | 04fb63e9dc6686bc11892df6707cb4d5024f675d (patch) | |
tree | 119450d6df3ba830a2ae71d19ac0e458394090ac | |
parent | introduce new url "installpath" to mean "the contents of installurl" (diff) | |
download | wireguard-openbsd-04fb63e9dc6686bc11892df6707cb4d5024f675d.tar.xz wireguard-openbsd-04fb63e9dc6686bc11892df6707cb4d5024f675d.zip |
document installpath, explain PKG_PATH defaults in terms of it.
-rw-r--r-- | usr.sbin/pkg_add/pkg_add.1 | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/pkg_add.1 b/usr.sbin/pkg_add/pkg_add.1 index 9ee8707eb0c..1ec3aaacf1c 100644 --- a/usr.sbin/pkg_add/pkg_add.1 +++ b/usr.sbin/pkg_add/pkg_add.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pkg_add.1,v 1.147 2017/05/13 14:38:28 schwarze Exp $ +.\" $OpenBSD: pkg_add.1,v 1.148 2017/05/18 12:29:54 espie Exp $ .\" .\" Documentation and design originally from FreeBSD. All the code has .\" been rewritten since. We keep the documentation's notice: @@ -15,7 +15,7 @@ .\" Jordan K. Hubbard .\" .\" -.Dd $Mdocdate: May 13 2017 $ +.Dd $Mdocdate: May 18 2017 $ .Dt PKG_ADD 1 .Os .Sh NAME @@ -145,14 +145,19 @@ environment variable, then the .Ev PKG_PATH environment variable. +The special url +.Sq installpath +refers to the contents of +.Xr installurl 5 . If neither .Ev TRUSTED_PKG_PATH nor .Ev PKG_PATH are defined, .Nm -will build its path based on the contents of -.Xr installurl 5 . +will use +.Sq ./:installpath +as a default. Specifying .Ql - as a package name causes |