Pass `-9' flag to gzip(1), so that package is compressed using maximum
compression. Usually this gives gives extra 1-1.5%. MFC after: 1 day
This commit is contained in:
parent
1181ac380e
commit
6c7e725f50
@ -29,6 +29,7 @@ static const char rcsid[] =
|
||||
#include <err.h>
|
||||
#include <libgen.h>
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/syslimits.h>
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
@ -77,9 +78,10 @@ pkg_perform(char **pkgs)
|
||||
}
|
||||
if (UseBzip2)
|
||||
suf = "tbz2";
|
||||
else if (compress)
|
||||
else if (compress) {
|
||||
suf = "tgz";
|
||||
else
|
||||
setenv("GZIP", "-9", 0);
|
||||
} else
|
||||
suf = "tar";
|
||||
|
||||
if (InstalledPkg != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user