Bug pour l'extraction, patch pour utiliser directement tar -xf

This commit is contained in:
Alan Garcia 2012-04-25 09:31:04 +00:00
parent 9bdae49cea
commit 8a7077ae44
1 changed files with 1 additions and 1 deletions

View File

@ -558,7 +558,7 @@ class m_bro {
$dest = escapeshellarg($dest);
// TODO new version of tar supports `tar xf ...` so there is no
// need to specify the compression format
exec("tar -xzf $file -C $dest", $void, $ret);
exec("tar -xf $file -C $dest", $void, $ret);
if ($ret) {
exec("tar -xjf $file -C $dest", $void, $ret);
}