Update nginx.sh (#161)

update package source for arm
This commit is contained in:
Len 2018-04-08 00:20:28 -04:00 committed by FusionPBX
parent 6be2ccf02d
commit 241d5319ae
1 changed files with 3 additions and 3 deletions

View File

@ -38,9 +38,9 @@ elif [ ."$os_name" = ."Ubuntu" ]; then
elif [ ."$cpu_architecture" = ."arm" ]; then
#Pi2 and Pi3 Raspbian
#Odroid
if [ ."$os_codename" = ."jessie" ]; then
echo "deb http://packages.moopi.uk/debian jessie main" > /etc/apt/sources.list.d/moopi.list
wget -O - http://packages.moopi.uk/debian/moopi.gpg.key | apt-key add -
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
else
#9.x - */stretch/