summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/add/pkg_add.1
diff options
context:
space:
mode:
authorjpaetzel <jpaetzel@FreeBSD.org>2012-05-30 21:01:06 +0000
committerjpaetzel <jpaetzel@FreeBSD.org>2012-05-30 21:01:06 +0000
commitd180b79aba010f40355b761a3cbc9d929a22780f (patch)
tree5870933a1ee3ebda24b057de60b18a54804c1774 /usr.sbin/pkg_install/add/pkg_add.1
parentdc64091687e3961e47dd73228c98b19328e0afe2 (diff)
downloadFreeBSD-src-d180b79aba010f40355b761a3cbc9d929a22780f.zip
FreeBSD-src-d180b79aba010f40355b761a3cbc9d929a22780f.tar.gz
Let pkg_add use the ENV variable PACKAGESUFFIX. This
can be used to override the default .tbz package extension to .txz .tgz or .tar Submitted by: kmoore Obtained from: PC-BSD Sponsored by: iXsystems MFC after: 3 days
Diffstat (limited to 'usr.sbin/pkg_install/add/pkg_add.1')
-rw-r--r--usr.sbin/pkg_install/add/pkg_add.15
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/add/pkg_add.1 b/usr.sbin/pkg_install/add/pkg_add.1
index 71963d1..d146441 100644
--- a/usr.sbin/pkg_install/add/pkg_add.1
+++ b/usr.sbin/pkg_install/add/pkg_add.1
@@ -553,6 +553,11 @@ The environment variable
specifies an alternative location to save downloaded packages to when
.Fl K
option is used.
+.Pp
+The environment variable
+.Ev PACKAGESUFFIX
+specifies an alternative file extension to use when fetching remote
+packages. Default is .tbz
.Sh FILES
.Bl -tag -width /var/db/pkg -compact
.It Pa /var/tmp
OpenPOWER on IntegriCloud