Update nginx.sh

This commit is contained in:
FusionPBX 2017-03-05 10:42:12 -07:00 committed by GitHub
parent 490cbd1c2b
commit 868b1a5d12
1 changed files with 7 additions and 1 deletions

View File

@ -11,9 +11,10 @@ cd "$(dirname "$0")"
#send a message
verbose "Installing the web server"
arch=$(uname -m)
real_os=$(lsb_release -is)
codename=$(lsb_release -cs)
#if [ ."$cpu_architecture" = ."arm" ]; then
#9.x - */stretch/
#8.x - */jessie/
@ -42,6 +43,11 @@ else
fi
apt-get update
#use php version 5 for arm
if [ .$cpu_architecture = .'arm' ]; then
php_version=5
fi
#install dependencies
apt-get install -y nginx
if [ ."$php_version" = ."5" ]; then