diff options
author | asami <asami@FreeBSD.org> | 1998-12-05 06:29:03 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-12-05 06:29:03 +0000 |
commit | 125d5b9a24a70f0e9b3befa7fb24b7e2f496d234 (patch) | |
tree | 88d9b82bc23600328f7fc7efdd85ed21cc3ada3e /usr.sbin/pkg_install/lib | |
parent | f6e1dfa6868a552b068c5454f8059fcd3f7d1b2f (diff) | |
download | FreeBSD-src-125d5b9a24a70f0e9b3befa7fb24b7e2f496d234.zip FreeBSD-src-125d5b9a24a70f0e9b3befa7fb24b7e2f496d234.tar.gz |
Fix support for uncompressed (".tar") package types. It's not completely
fixed (chained dependency checking for pkg_add is broken, for one thing)
but at least you can now create one package and use it.
Diffstat (limited to 'usr.sbin/pkg_install/lib')
-rw-r--r-- | usr.sbin/pkg_install/lib/file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c index c12b35c..9aed73c 100644 --- a/usr.sbin/pkg_install/lib/file.c +++ b/usr.sbin/pkg_install/lib/file.c @@ -1,6 +1,6 @@ #ifndef lint static const char rcsid[] = - "$Id: file.c,v 1.33 1998/10/09 00:01:16 jkh Exp $"; + "$Id: file.c,v 1.34 1998/10/14 18:52:04 jkh Exp $"; #endif /* @@ -487,8 +487,8 @@ unpack(char *pkg, char *flist) } } else - strcpy(args, "z"); - strcat(args, "xpf"); + strcpy(args, "-z"); + strcat(args, " -xpf"); if (vsystem("tar %s %s %s", args, pkg, flist ? flist : "")) { warnx("tar extract of %s failed!", pkg); return 1; |