Update php.sh
This commit is contained in:
parent
f902aacb49
commit
e7383e65b7
|
|
@ -46,7 +46,8 @@ else
|
||||||
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
|
||||||
if [ ."$os_codename" = ."buster" ]; then
|
if [ ."$os_codename" = ."buster" ]; then
|
||||||
php_version=7.3
|
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
|
||||||
if [ ."$os_codename" = ."bullseye" ]; then
|
if [ ."$os_codename" = ."bullseye" ]; then
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue