msk: keep using an intermediary file for gunzip as it's still way faster than the pipe

This commit is contained in:
K. Lange 2021-09-08 22:02:14 +09:00
parent 637529efff
commit 0686e4916e

View File

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