diff options
| author | Bruce A. Mah <bmah@FreeBSD.org> | 2002-11-14 21:01:17 +0000 |
|---|---|---|
| committer | Bruce A. Mah <bmah@FreeBSD.org> | 2002-11-14 21:01:17 +0000 |
| commit | 2930533d3f558f3c8cb0535a04b56b605f7d3a5a (patch) | |
| tree | 0da5891df05e5ed7b43ad8e170d9231fcec1a024 | |
| parent | 26532c36967953746f91f672d88a6b9ed8b1895e (diff) | |
Notes
| -rw-r--r-- | usr.sbin/pkg_install/lib/file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c index 3ed4b385f059..2ad1bc20e449 100644 --- a/usr.sbin/pkg_install/lib/file.c +++ b/usr.sbin/pkg_install/lib/file.c @@ -348,7 +348,8 @@ unpack(const char *pkg, const char *flist) } } else - strcpy(args, "-z"); + /* XXX: need to handle .tgz also */ + strcpy(args, "-j"); strcat(args, " -xpf"); if (vsystem("tar %s '%s' %s", args, pkg, flist ? flist : "")) { warnx("tar extract of %s failed!", pkg); |
