1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-23 17:13:22 -05:00

This compresses to stdout when the Accept button in ARS, which allows an

uncompressed and compressed version of each type to exist if desired.
This commit is contained in:
freesource 2001-10-01 00:44:24 +00:00
parent 593b4ce543
commit 1e249d1786

View File

@ -1405,7 +1405,8 @@ sub accept_button {
info(0, "Already bzip2 compressed.\n");
}
else {
system "$compress $tmp/$entry_advanced[4]";
system
"$compress -c9 $tmp/$entry_advanced[4] > $tmp/$entry_advanced[4].gz";
$entry_advanced[4] = "$entry_advanced[4].gz";
$entry3->set_text("$tmp/$entry_advanced[4]");
}
@ -1431,7 +1432,8 @@ sub accept_button {
info(0, "Already bzip2 compressed.\n");
}
else {
system "$compress $tmp/$entry_advanced[4]";
system
"$compress -c $tmp/$entry_advanced[4] > $tmp/$entry_advanced[4].bz2";
$entry_advanced[4] = "$entry_advanced[4].bz2";
$entry3->set_text("$tmp/$entry_advanced[4]");
}