Changeset 1414 in genapp


Ignore:
Timestamp:
Feb 13, 2018, 9:53:03 AM (4 years ago)
Author:
ehb
Message:

centos 7.4 + update pear to 1.10.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sbin/install.pl

    r1412 r1414  
    205205
    206206if ( $os eq 'centos' ) {
    207     die "only Centos 6.7, 6.8, 6.9, 7.2 and 7.3 currently supported and this appears to be version $os_release\n$sorry" if $os_release !~ /^6\.(7|8|9)$/ && $os_release !~ /^7\.(2|3)/;
     207    die "only Centos 6.7, 6.8, 6.9, 7.2, 7.3 and 7.4 currently supported and this appears to be version $os_release\n$sorry" if $os_release !~ /^6\.(7|8|9)$/ && $os_release !~ /^7\.(2|3|4)/;
    208208}
    209209
     
    393393" );
    394394
     395    runcmdsb( "scl enable rh-php56 'pear upgrade --force --alldeps http://pear.php.net/get/PEAR-1.10.5'" );
    395396    runcmdsb( "scl enable rh-php56 'pear install --alldeps Mail Mail_Mime Net_SMTP'" );
    396397
     
    505506
    506507# ------ centos 7.2 -------
    507 if ( $os eq 'centos' && $os_release =~ /^7\.(2|3)/ ) {
     508if ( $os eq 'centos' && $os_release =~ /^7\.(2|3|4)/ ) {
    508509
    509510    # install required modules
     
    542543" );
    543544
     545    runcmdsb( "scl enable rh-php56 'pear upgrade --force --alldeps http://pear.php.net/get/PEAR-1.10.5'" );
    544546    runcmdsb( "scl enable rh-php56 'pear install --alldeps Mail Mail_Mime Net_SMTP'" );
    545547
     
    741743" );
    742744
     745    runcmdsb( "scl enable rh-php56 'pear upgrade --force --alldeps http://pear.php.net/get/PEAR-1.10.5'" );
    743746    runcmdsb( "scl enable rh-php56 'pear install --alldeps Mail Mail_Mime Net_SMTP'" );
     747
    744748    `sudo killall mongod 2> /dev/null`;
    745749    runcmdsb( "service mongod start" );
Note: See TracChangeset for help on using the changeset viewer.