From dc18139386fe83c9a12a3f0f20532cdecced3eb7 Mon Sep 17 00:00:00 2001 From: Arnaud Ligny Date: Sat, 14 Dec 2019 23:57:07 +0100 Subject: [PATCH] Update Now (#60) * Update now-build.sh * Update now.json --- now-build.sh | 12 ++++++------ now.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/now-build.sh b/now-build.sh index c4d1272f..1b897b9b 100644 --- a/now-build.sh +++ b/now-build.sh @@ -1,11 +1,11 @@ #!/bin/bash echo 'Installing PHP...' -if [ -n $PHP_VERSION ] +if [ -z $PHP_VERSION ] then - PHP_V=${PHP_VERSION//./} -else PHP_V='72' +else + PHP_V=${PHP_VERSION//./} fi yum install php$PHP_V-cli @@ -14,11 +14,11 @@ curl -sS https://getcomposer.org/installer | php php composer.phar install echo 'Downloading Cecil...' -if [ -n $CECIL_VERSION ] +if [ -z $CECIL_VERSION ] then - curl -sSOL https://cecil.app/download/$CECIL_VERSION/cecil.phar + curl -LO https://cecil.app/cecil.phar else - curl -sSOL https://cecil.app/cecil.phar + curl -LO https://cecil.app/download/$CECIL_VERSION/cecil.phar fi php cecil.phar --version diff --git a/now.json b/now.json index 56461dc0..7aa19218 100644 --- a/now.json +++ b/now.json @@ -4,7 +4,7 @@ "build": { "env": { "PHP_VERSION": "7.3", - "CECIL_VERSION": "4.24.2", + "CECIL_VERSION": "4.28.2", "CECIL_BASEURL": "/" } },