Bug pour l'extraction, patch pour utiliser directement tar -xf
This commit is contained in:
parent
9bdae49cea
commit
8a7077ae44
|
@ -558,7 +558,7 @@ class m_bro {
|
||||||
$dest = escapeshellarg($dest);
|
$dest = escapeshellarg($dest);
|
||||||
// TODO new version of tar supports `tar xf ...` so there is no
|
// TODO new version of tar supports `tar xf ...` so there is no
|
||||||
// need to specify the compression format
|
// need to specify the compression format
|
||||||
exec("tar -xzf $file -C $dest", $void, $ret);
|
exec("tar -xf $file -C $dest", $void, $ret);
|
||||||
if ($ret) {
|
if ($ret) {
|
||||||
exec("tar -xjf $file -C $dest", $void, $ret);
|
exec("tar -xjf $file -C $dest", $void, $ret);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue