mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 13:23:05 +07:00
Merge pull request #190 from shivammathur/develop
Hotfix: Force install libicu64 for PHP 8.0
This commit is contained in:
commit
03fd0b8719
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user