msk: use native inflater for tgz packages (slow, but nicer)
This commit is contained in:
parent
286bd07812
commit
69324a4e3d
@ -361,10 +361,9 @@ static int install_package(char * pkg) {
|
||||
}
|
||||
|
||||
char cmd[1024];
|
||||
sprintf(cmd, "cd %s; ungz %s /tmp/%s.tar; tar -xf /tmp/%s.tar; rm /tmp/%s.tar",
|
||||
sprintf(cmd, "cd %s; tar -xzf %s",
|
||||
confreader_get(msk_manifest, pkg, "destination"),
|
||||
confreader_get(msk_manifest, pkg, "source"),
|
||||
pkg, pkg, pkg);
|
||||
confreader_get(msk_manifest, pkg, "source"));
|
||||
|
||||
int status;
|
||||
if ((status = system(cmd))) {
|
||||
|
Loading…
Reference in New Issue
Block a user