fix parse error

This commit is contained in:
Tomas V.V.Cox 2002-03-23 15:56:14 +00:00
parent e40ce9963e
commit dc17bcc6ab

View file

@ -70,10 +70,10 @@ class PEAR_Command_Install extends PEAR_Command_Common
$failmsg = ''; $failmsg = '';
$opts = array(); $opts = array();
switch ($command) { switch ($command) {
case 'upgrade': { case 'upgrade':
$opts['upgrade'] = true; $opts['upgrade'] = true;
// fall through // fall through
case 'install': case 'install': {
if (isset($options['f'])) { if (isset($options['f'])) {
$opts['force'] = true; $opts['force'] = true;
} }