msk: Switch back to using tar/gunzip with pipes

This commit is contained in:
K. Lange 2021-10-24 19:40:55 +09:00
parent 591a074608
commit b4783dd1c3

View File

@ -364,7 +364,7 @@ static int install_package(char * pkg) {
}
char cmd[1024];
sprintf(cmd, "cd %s; gunzip -c %s >/tmp/msk.tmp.x; tar -xf /tmp/msk.tmp.x; rm /tmp/msk.tmp.x",
sprintf(cmd, "cd %s; tar -xzf %s",
confreader_get(msk_manifest, pkg, "destination"),
confreader_get(msk_manifest, pkg, "source"));