Add ppa:ondrej/php for 20.04 LTS focal

This commit is contained in:
FusionPBX 2023-10-11 18:32:28 -06:00 committed by GitHub
parent b6ae3716b6
commit fb931b299a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@ if [ ."$os_name" = ."Ubuntu" ]; then
#20.04.x - /*bionic/ #20.04.x - /*bionic/
if [ ."$os_codename" = ."focal" ]; then if [ ."$os_codename" = ."focal" ]; then
echo "Ubuntu 20.04 LTS\n" echo "Ubuntu 20.04 LTS\n"
php_version=7.4 which add-apt-repository || apt-get install -y software-properties-common
LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php
fi fi
#18.04.x - /*bionic/ #18.04.x - /*bionic/
if [ ."$os_codename" = ."bionic" ]; then if [ ."$os_codename" = ."bionic" ]; then