From 50ffa593bb1ae0b98c060a7c4a9bfd502ddfdbbe Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 18 May 2020 17:25:38 +0530 Subject: [PATCH] Update PPA in add_devtools in linux.sh --- src/scripts/linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index 635463f4..59c38d3e 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -245,7 +245,7 @@ add_composertool() { # Function to setup phpize and php-config add_devtools() { if ! [ -e "/usr/bin/phpize$version" ] || ! [ -e "/usr/bin/php-config$version" ]; then - $apt_install php"$version"-dev php"$version"-xml >/dev/null 2>&1 + update_ppa && $apt_install php"$version"-dev php"$version"-xml >/dev/null 2>&1 fi sudo update-alternatives --set php-config /usr/bin/php-config"$version" >/dev/null 2>&1 sudo update-alternatives --set phpize /usr/bin/phpize"$version" >/dev/null 2>&1