summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorjuanfra <juanfra@cvs.openbsd.org>2014-01-22 01:29:34 +0000
committerjuanfra <juanfra@cvs.openbsd.org>2014-01-22 01:29:34 +0000
commitb8edf408d50b7c4e4fc822de042952bacf6645f7 (patch)
tree52a6975d5161fe63e488103ddb7496f3cd46626f /usr.sbin/pkg_add
parentc013b496122de3ba02a01f85764a94def1926b79 (diff)
Fix the ambigous text in afterboot. For a newbie, the text really
said: "download the packages from a mirror and install these with pkg_add". Also add a mention to pkg.conf in pkg_add.1. Help and suggestions from jmc@ and sthen@. OK from both.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pkg_add.114
1 files changed, 11 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/pkg_add.1 b/usr.sbin/pkg_add/pkg_add.1
index ed33f2b4f34..cd5e2faed6c 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.121 2014/01/17 11:09:36 espie Exp $
+.\" $OpenBSD: pkg_add.1,v 1.122 2014/01/22 01:29:33 juanfra 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: January 17 2014 $
+.Dd $Mdocdate: January 22 2014 $
.Dt PKG_ADD 1
.Os
.Sh NAME
@@ -138,9 +138,17 @@ The following examples are valid:
.Pp
If the given package names are not found in the current working directory,
.Nm
-will search for them in each directory named by the
+will search for them in each directory (local or remote) named by the
.Ev PKG_PATH
environment variable.
+If
+.Ev PKG_PATH
+is not defined,
+.Nm
+will use the path named by
+.Ar installpath
+within
+.Xr pkg.conf 5 .
Specifying
.Ql -
as a package name causes