Update nginx.sh

This change will allow FusionPBX to build successfully on arm/arm64 when using Ubuntu focal.  Yhis piece of code is currently redundant anyway as its set for Debian stretch but in the Ubuntu installer
This commit is contained in:
Darren Williams 2022-01-13 08:06:48 +00:00 committed by GitHub
parent dca3e2f0a9
commit a6e363d14d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ verbose "Installing the web server"
if [ ."$cpu_architecture" = ."arm" ]; then
#Pi2 and Pi3 Raspbian
#Odroid
if [ ."$os_codename" = ."stretch" ]; then
php_version=7.2
if [ ."$os_codename" = ."focal" ]; then
php_version=7.4
else
php_version=5.6
fi