forked from norman/fusionpbx-install.sh-github-mirror
Update nginx.sh
This commit is contained in:
8
debian/resources/nginx.sh
vendored
8
debian/resources/nginx.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user