Browse Source

- Fix download with uncompress option

Nota Bene, we should think to use the same name for pearweb and pear cmd
PEAR_1_4DEV
Pierre Joye 23 years ago
parent
commit
827e482224
  1. 3
      pear/PEAR/Command/Remote.php

3
pear/PEAR/Command/Remote.php

@ -282,7 +282,8 @@ parameter.
}
$server = $this->config->get('master_server');
if (!ereg('^http://', $params[0])) {
$pkgfile = "http://$server/get/$params[0]";
$getoption = isset($options['nocompress'])&&$options['nocompress']==1?'?uncompress=on':'';
$pkgfile = "http://$server/get/$params[0]".$getoption;
} else {
$pkgfile = $params[0];
}

Loading…
Cancel
Save