Merge pull request #190 from shivammathur/develop

Hotfix: Force install libicu64 for PHP 8.0
This commit is contained in:
Shivam Mathur 2020-02-23 00:43:53 +05:30 committed by GitHub
commit 03fd0b8719
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,7 +199,7 @@ setup_master() {
tar_file=php_"$version"%2Bubuntu"$(lsb_release -r -s)".tar.xz tar_file=php_"$version"%2Bubuntu"$(lsb_release -r -s)".tar.xz
install_dir=~/php/"$version" install_dir=~/php/"$version"
sudo mkdir -m 777 -p ~/php sudo mkdir -m 777 -p ~/php
$apt_install libicu-dev >/dev/null 2>&1 update_ppa && $apt_install libicu64 libicu-dev >/dev/null 2>&1
curl -SLO https://dl.bintray.com/shivammathur/php/"$tar_file" >/dev/null 2>&1 curl -SLO https://dl.bintray.com/shivammathur/php/"$tar_file" >/dev/null 2>&1
sudo tar xf "$tar_file" -C ~/php >/dev/null 2>&1 sudo tar xf "$tar_file" -C ~/php >/dev/null 2>&1
rm -rf "$tar_file" rm -rf "$tar_file"