forked from norman/fusionpbx-install.sh-github-mirror
Update nginx.sh
This commit is contained in:
7
debian/resources/nginx.sh
vendored
7
debian/resources/nginx.sh
vendored
@@ -8,13 +8,6 @@ cd "$(dirname "$0")"
|
|||||||
. ./colors.sh
|
. ./colors.sh
|
||||||
. ./environment.sh
|
. ./environment.sh
|
||||||
|
|
||||||
#change the version of php for debian stretch
|
|
||||||
if [ ."$os_codename" = ."stretch" ]; then
|
|
||||||
apt-get -y install apt-transport-https lsb-release ca-certificates
|
|
||||||
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
|
||||||
sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
|
|
||||||
fi
|
|
||||||
|
|
||||||
#send a message
|
#send a message
|
||||||
verbose "Installing the web server"
|
verbose "Installing the web server"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user