diff --git a/debian/resources/nginx.sh b/debian/resources/nginx.sh index 8e7cc81..f0b0fe4 100755 --- a/debian/resources/nginx.sh +++ b/debian/resources/nginx.sh @@ -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/