From c7876d4ed3c184de40bf5e89e6d5dd4d5e821fa8 Mon Sep 17 00:00:00 2001 From: knu Date: Sun, 4 Aug 2002 21:27:57 +0000 Subject: [PATCH] Another .tbz2 -> .tbz leftover. Properly look for pkgname.tbz. MFC after: 1 day --- usr.sbin/pkg_install/lib/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c index 163517a8ab07..9946529fd6c0 100644 --- a/usr.sbin/pkg_install/lib/file.c +++ b/usr.sbin/pkg_install/lib/file.c @@ -252,7 +252,7 @@ fileFindByPath(const char *base, const char *fname) { static char tmp[FILENAME_MAX]; char *cp; - const char *suffixes[] = {".tgz", ".tar", ".tbz2", NULL}; + const char *suffixes[] = {".tgz", ".tar", ".tbz", NULL}; int i; if (fexists(fname) && isfile(fname)) {