|
@@ 3217-3220 (lines=4) @@
|
| 3214 |
|
unset($o); |
| 3215 |
|
$test = $this->procExec('gzip --version', $o, $c); |
| 3216 |
|
|
| 3217 |
|
if ($c == 0) { |
| 3218 |
|
$arcs['create']['application/x-gzip'] = array('cmd' => 'tar', 'argc' => '-czf', 'ext' => 'tgz'); |
| 3219 |
|
$arcs['extract']['application/x-gzip'] = array('cmd' => 'tar', 'argc' => '-xzf', 'ext' => 'tgz'); |
| 3220 |
|
} |
| 3221 |
|
unset($o); |
| 3222 |
|
$test = $this->procExec('bzip2 --version', $o, $c); |
| 3223 |
|
if ($c == 0) { |
|
@@ 3223-3226 (lines=4) @@
|
| 3220 |
|
} |
| 3221 |
|
unset($o); |
| 3222 |
|
$test = $this->procExec('bzip2 --version', $o, $c); |
| 3223 |
|
if ($c == 0) { |
| 3224 |
|
$arcs['create']['application/x-bzip2'] = array('cmd' => 'tar', 'argc' => '-cjf', 'ext' => 'tbz'); |
| 3225 |
|
$arcs['extract']['application/x-bzip2'] = array('cmd' => 'tar', 'argc' => '-xjf', 'ext' => 'tbz'); |
| 3226 |
|
} |
| 3227 |
|
} |
| 3228 |
|
unset($o); |
| 3229 |
|
$this->procExec('zip -v', $o, $c); |