From e030a23ecb66eca7ca9ae2a5ce0c579546e14509 Mon Sep 17 00:00:00 2001 From: Masco Skray Date: Mon, 8 Jul 2019 12:56:08 +0800 Subject: [PATCH] fix(install): support v8js upgrade to 2.1.1 The latest v8js 2.1.1 needs libv8 to be 6.9 or newer. This fix applies new ppa source and installs libv8 7.5. --- install/bundle/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/bundle/install.sh b/install/bundle/install.sh index 026f95a..523c215 100644 --- a/install/bundle/install.sh +++ b/install/bundle/install.sh @@ -15,10 +15,10 @@ getAptPackage(){ (echo "mysql-server mysql-server/root_password password $_database_password_";echo "mysql-server mysql-server/root_password_again password $_database_password_") | debconf-set-selections #Update apt sources and install dpkg -s gnupg 2>/dev/null || (apt-get update && apt-get install -y gnupg) - echo "deb http://ppa.launchpad.net/pinepain/libv8/ubuntu artful main" | tee /etc/apt/sources.list.d/pinepain-libv8.list && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 60C60AA4 - apt-get update && apt-get install -y vim ntp zip unzip curl wget apache2 libapache2-mod-xsendfile libapache2-mod-php php php-dev php-pear php-zip php-mysql php-mbstring mysql-server cmake fp-compiler re2c libv8-6.6-dev libyaml-dev python python3 python3-requests + echo "deb http://ppa.launchpad.net/stesie/libv8/ubuntu bionic main" | tee /etc/apt/sources.list.d/stesie-libv8.list && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D858A0DF + apt-get update && apt-get install -y vim ntp zip unzip curl wget apache2 libapache2-mod-xsendfile libapache2-mod-php php php-dev php-pear php-zip php-mysql php-mbstring mysql-server cmake fp-compiler re2c libv8-7.5-dev libyaml-dev python python3 python3-requests #Install PHP extensions - cp -a /opt/libv8*/* /usr && printf "\n\n" | pecl install v8js yaml + printf "/opt/libv8-7.5\n\n" | pecl install v8js yaml } getOracleJDK(){