Hotfix: Force install libicu64 for PHP 8.0

This commit is contained in:
Shivam Mathur 2020-02-23 00:25:17 +05:30
parent b46021d870
commit ebe1c12c21
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

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"