Update nginx.sh

This commit is contained in:
FusionPBX 2017-03-04 21:19:30 -07:00 committed by GitHub
parent 4065e30400
commit 497ac5f102
1 changed files with 2 additions and 2 deletions

View File

@ -14,10 +14,10 @@ verbose "Installing the web server"
arch=$(uname -m) arch=$(uname -m)
real_os=$(lsb_release -is) real_os=$(lsb_release -is)
codename=$(lsb_release -cs) codename=$(lsb_release -cs)
if [ ."$cpu_architecture" = ."arm" ]; then #if [ ."$cpu_architecture" = ."arm" ]; then
#9.x - */stretch/ #9.x - */stretch/
#8.x - */jessie/ #8.x - */jessie/
fi #fi
if [ ."$php_version" = ."5" ]; then if [ ."$php_version" = ."5" ]; then
#verbose "Switching forcefully to php5* packages" #verbose "Switching forcefully to php5* packages"
which add-apt-repository || apt-get install -y software-properties-common which add-apt-repository || apt-get install -y software-properties-common