Changeset 12250

Show
Ignore:
Timestamp:
06/11/11 15:25:01 (2 years ago)
Author:
p_lindheimer
Message:

special case fw_ari and fw_fop during install_amp as framework re #5227

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.9/install_amp

    r11830 r12250  
    413413        // special case framework, it should not be installed just enabled. 
    414414        // 
    415         if ($up_module != 'framework') { 
     415        switch ($up_module) { 
     416        case 'framework': 
     417        case 'fw_ari': 
     418        case 'fw_fop': 
     419          system($amp_conf['AMPBIN']."/module_admin --no-warnings -f enable $up_module"); 
     420          out("enabled"); 
     421        break; 
     422        default: 
    416423          system($amp_conf['AMPBIN']."/module_admin --no-warnings -f install $up_module"); 
    417424          system($amp_conf['AMPBIN']."/module_admin --no-warnings -f enable $up_module"); 
    418425          out("installed"); 
    419         } else { 
    420           system($amp_conf['AMPBIN']."/module_admin --no-warnings -f enable $up_module"); 
    421           out("enabled"); 
    422         } 
     426        } 
    423427        unset($included_modules[$id]); 
    424428      } else {