Update nginx.sh (#162)
This commit is contained in:
parent
241d5319ae
commit
95fc640c11
|
|
@ -38,7 +38,8 @@ elif [ ."$os_name" = ."Ubuntu" ]; then
|
||||||
elif [ ."$cpu_architecture" = ."arm" ]; then
|
elif [ ."$cpu_architecture" = ."arm" ]; then
|
||||||
#Pi2 and Pi3 Raspbian
|
#Pi2 and Pi3 Raspbian
|
||||||
#Odroid
|
#Odroid
|
||||||
apt-get -y install apt-transport-https lsb-release ca-certificates
|
php_version=5
|
||||||
|
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
|
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'
|
sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue