Assume that packages passed on stdin are in bzip2 format, not gzip.
(sysinstall depends on this feature for package addition.) Comment on hard-coded bzip2 usage in the spirit of rev. 1.58.
This commit is contained in:
parent
f38cf8f61b
commit
2eb722987d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user