mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 04:11:06 +07:00
Hotfix: Force install libicu64 for PHP 8.0
This commit is contained in:
parent
b46021d870
commit
ebe1c12c21
@ -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