Drop support for the .tbz2 suffix. One would not want pkg_create(1)

to create "pkgname.tbz" when one specifies "pkgname.tbz2".

MFC after:	1 week
This commit is contained in:
Akinori MUSHA 2002-08-04 21:20:09 +00:00
parent fc1c73c21a
commit 752b4d681e
2 changed files with 2 additions and 6 deletions

View File

@ -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";

View File

@ -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 .