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:
parent
fc1c73c21a
commit
752b4d681e
@ -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";
|
||||
|
@ -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 .
|
||||
|
Loading…
Reference in New Issue
Block a user