|
@@ 4267-4270 (lines=4) @@
|
| 4264 |
|
$arcs['extract']['application/x-tar'] = array('cmd' => 'tar', 'argc' => '-xf', 'ext' => 'tar'); |
| 4265 |
|
unset($o); |
| 4266 |
|
$test = $this->procExec('gzip --version', $o, $c); |
| 4267 |
|
if ($c == 0) { |
| 4268 |
|
$arcs['create']['application/x-gzip'] = array('cmd' => 'tar', 'argc' => '-czf', 'ext' => 'tgz'); |
| 4269 |
|
$arcs['extract']['application/x-gzip'] = array('cmd' => 'tar', 'argc' => '-xzf', 'ext' => 'tgz'); |
| 4270 |
|
} |
| 4271 |
|
unset($o); |
| 4272 |
|
$test = $this->procExec('bzip2 --version', $o, $c); |
| 4273 |
|
if ($c == 0) { |
|
@@ 4273-4276 (lines=4) @@
|
| 4270 |
|
} |
| 4271 |
|
unset($o); |
| 4272 |
|
$test = $this->procExec('bzip2 --version', $o, $c); |
| 4273 |
|
if ($c == 0) { |
| 4274 |
|
$arcs['create']['application/x-bzip2'] = array('cmd' => 'tar', 'argc' => '-cjf', 'ext' => 'tbz'); |
| 4275 |
|
$arcs['extract']['application/x-bzip2'] = array('cmd' => 'tar', 'argc' => '-xjf', 'ext' => 'tbz'); |
| 4276 |
|
} |
| 4277 |
|
unset($o); |
| 4278 |
|
$test = $this->procExec('xz --version', $o, $c); |
| 4279 |
|
if ($c == 0) { |
|
@@ 4279-4282 (lines=4) @@
|
| 4276 |
|
} |
| 4277 |
|
unset($o); |
| 4278 |
|
$test = $this->procExec('xz --version', $o, $c); |
| 4279 |
|
if ($c == 0) { |
| 4280 |
|
$arcs['create']['application/x-xz'] = array('cmd' => 'tar', 'argc' => '-cJf', 'ext' => 'xz'); |
| 4281 |
|
$arcs['extract']['application/x-xz'] = array('cmd' => 'tar', 'argc' => '-xJf', 'ext' => 'xz'); |
| 4282 |
|
} |
| 4283 |
|
} |
| 4284 |
|
unset($o); |
| 4285 |
|
$this->procExec('zip -v', $o, $c); |