Update php.sh
This commit is contained in:
parent
ae3a7cba79
commit
fb0a2d25de
|
|
@ -32,8 +32,9 @@ elif [ ."$cpu_architecture" = ."arm" ]; then
|
|||
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'
|
||||
else
|
||||
#9.x - */stretch/
|
||||
#8.x - */jessie/
|
||||
#10.x - buster
|
||||
#9.x - stretch
|
||||
#8.x - jessie
|
||||
apt-get -y install apt-transport-https lsb-release ca-certificates
|
||||
if [ ."$os_codename" = ."jessie" ]; then
|
||||
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
||||
|
|
@ -43,6 +44,9 @@ else
|
|||
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
|
||||
if [ ."$os_codename" = ."buster" ]; then
|
||||
php_version=7.3
|
||||
else
|
||||
fi
|
||||
apt-get update -y
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue