summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pkg_install/create/perform.c4
-rw-r--r--usr.sbin/pkg_install/create/pkg_create.14
2 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c
index 1691b33..df4b5a2 100644
--- a/usr.sbin/pkg_install/create/perform.c
+++ b/usr.sbin/pkg_install/create/perform.c
@@ -69,10 +69,6 @@ pkg_perform(char **pkgs)
Zipper = BZIP2;
pkg[len - 4] = '\0';
}
- else if ((len > 5) && (!strcmp(&pkg[len - 5], ".tbz2"))) {
- Zipper = BZIP2;
- pkg[len - 5] = '\0';
- }
}
if (Zipper == BZIP2) {
suf = "tbz";
diff --git a/usr.sbin/pkg_install/create/pkg_create.1 b/usr.sbin/pkg_install/create/pkg_create.1
index 5ae414f..b2d5133 100644
--- a/usr.sbin/pkg_install/create/pkg_create.1
+++ b/usr.sbin/pkg_install/create/pkg_create.1
@@ -285,9 +285,9 @@ archive is explicitly specified by the recognizeable suffix of
Currently
.Nm
recognizes the following suffixes:
-.Pa .tgz , .tar , .tbz
+.Pa .tbz , .tgz
and
-.Pa .tbz2 .
+.Pa .tar .
.It Fl y
Compatibility synonym for
.Fl j .
OpenPOWER on IntegriCloud