parent
6a82d2d673
commit
b02db342e7
|
|
@ -10,7 +10,9 @@ cd "$(dirname "$0")"
|
||||||
|
|
||||||
#change the version of php for debian stretch
|
#change the version of php for debian stretch
|
||||||
if [ ."$os_codename" = ."stretch" ]; then
|
if [ ."$os_codename" = ."stretch" ]; then
|
||||||
php_version=7
|
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
|
fi
|
||||||
|
|
||||||
#send a message
|
#send a message
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue