Changeset 202808 in webkit


Ignore:
Timestamp:
Jul 4, 2016 4:44:11 AM (8 years ago)
Author:
clopez@igalia.com
Message:

[EFL][GTK] Layout Test doesn't run on Ubuntu 16.04
https://bugs.webkit.org/show_bug.cgi?id=158141

Rubber-stamped by Michael Catanzaro.

Instead of checking for an specific Ubuntu version, query the apt
database to see which version of PHP is available.

  • efl/install-dependencies:
  • gtk/install-dependencies:
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r202804 r202808  
     12016-07-04  Carlos Alberto Lopez Perez  <clopez@igalia.com>
     2
     3        [EFL][GTK] Layout Test doesn't run on Ubuntu 16.04
     4        https://bugs.webkit.org/show_bug.cgi?id=158141
     5
     6        Rubber-stamped by Michael Catanzaro.
     7
     8        Instead of checking for an specific Ubuntu version, query the apt
     9        database to see which version of PHP is available.
     10
     11        * efl/install-dependencies:
     12        * gtk/install-dependencies:
     13
    1142016-07-04  Fujii Hironori  <Hironori.Fujii@sony.com>
    215
  • trunk/Tools/efl/install-dependencies

    r202523 r202808  
    114114        xvfb
    115115
    116     installPHPWithApt
    117 }
    118 
    119 function installPHPWithApt {
    120     if [ -f "/etc/os-release" ]; then
    121         ubuntu_version=`grep VERSION_ID /etc/os-release`
    122         if [[ $ubuntu_version == *VERSION_ID=\"16.04* ]]; then
    123             apt-get install libapache2-mod-php7.0
    124         else
    125             apt-get install libapache2-mod-php5
    126         fi
     116    if apt-cache show libapache2-mod-php7.0 &>/dev/null; then
     117        apt-get install libapache2-mod-php7.0
     118    else
     119        apt-get install libapache2-mod-php5
    127120    fi
    128121}
  • trunk/Tools/gtk/install-dependencies

    r202622 r202808  
    200200        subversion"
    201201
     202    if apt-cache show libapache2-mod-php7.0 &>/dev/null; then
     203        packages="$packages libapache2-mod-php7.0"
     204    else
     205        packages="$packages libapache2-mod-php5"
     206    fi
     207
    202208    apt-get install $packages
    203209
    204     installPHPWithApt
    205210}
    206211
     
    456461}
    457462
    458 function installPHPWithApt {
    459     if [ -f "/etc/os-release" ]; then
    460         ubuntu_version=`grep VERSION_ID /etc/os-release`
    461         if [[ $ubuntu_version == *VERSION_ID=\"16.04* ]]; then
    462             apt-get install libapache2-mod-php7.0
    463         else
    464             apt-get install libapache2-mod-php5
    465         fi
    466     fi
    467 }
    468 
    469463checkInstaller
    470464
Note: See TracChangeset for help on using the changeset viewer.