From 54afb29ef6ec399bc670c88f693f4bf5e9f860cc Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 18 May 2020 17:43:52 +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 94695c1a..266a5c9e 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -184,7 +184,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