This repository was archived by the owner on Jan 25, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ export GIMME_CGO_ENABLED=true
18
18
export NVM_DIR=" $HOME /.nvm"
19
19
export RVM_DIR=" $HOME /.rvm"
20
20
21
+ # PHP configuration
22
+ DEFAULT_PHP_VERSION=" 5.6"
23
+
21
24
# Swift configuration
22
25
export SWIFTENV_ROOT=" ${SWIFTENV_ROOT:- ${HOME} / .swiftenv} "
23
26
DEFAULT_SWIFT_VERSION=" 5.2"
@@ -215,9 +218,8 @@ install_dependencies() {
215
218
local defaultNodeVersion=$1
216
219
local defaultRubyVersion=$2
217
220
local defaultYarnVersion=$3
218
- local defaultPHPVersion=$4
219
- local installGoVersion=$5
220
- local defaultPythonVersion=$6
221
+ local installGoVersion=$4
222
+ local defaultPythonVersion=$5
221
223
222
224
# Python Version
223
225
if [ -f runtime.txt ]
@@ -372,7 +374,7 @@ install_dependencies() {
372
374
export JAVA_VERSION=default_sdk
373
375
374
376
# PHP version
375
- : ${PHP_VERSION=" $defaultPHPVersion " }
377
+ : ${PHP_VERSION=" $DEFAULT_PHP_VERSION " }
376
378
if [ -f /usr/bin/php$PHP_VERSION ]
377
379
then
378
380
if ln -sf /usr/bin/php$PHP_VERSION $HOME /.php/php
Original file line number Diff line number Diff line change @@ -21,12 +21,11 @@ cd $NETLIFY_REPO_DIR
21
21
: ${NODE_VERSION=" 12.18.0" }
22
22
: ${RUBY_VERSION=" 2.7.1" }
23
23
: ${YARN_VERSION=" 1.22.4" }
24
- : ${PHP_VERSION=" 5.6" }
25
24
: ${GO_VERSION=" 1.14.4" }
26
25
: ${PYTHON_VERSION=" 2.7" }
27
26
28
27
echo " Installing dependencies"
29
- install_dependencies $NODE_VERSION $RUBY_VERSION $YARN_VERSION $PHP_VERSION $ GO_VERSION $PYTHON_VERSION
28
+ install_dependencies $NODE_VERSION $RUBY_VERSION $YARN_VERSION $GO_VERSION $PYTHON_VERSION
30
29
31
30
echo " Installing missing commands"
32
31
install_missing_commands
You can’t perform that action at this time.
0 commit comments