mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 04:11:06 +07:00
Update PEAR channel after installation
This commit is contained in:
parent
e3d18718a9
commit
87e6c70743
@ -73,6 +73,8 @@ if [ "$2" = "true" ]; then
|
|||||||
wget https://github.com/pear/pearweb_phars/raw/master/install-pear-nozlib.phar >/dev/null 2>&1
|
wget https://github.com/pear/pearweb_phars/raw/master/install-pear-nozlib.phar >/dev/null 2>&1
|
||||||
sudo php install-pear-nozlib.phar >/dev/null 2>&1
|
sudo php install-pear-nozlib.phar >/dev/null 2>&1
|
||||||
sudo pear config-set php_ini "$ini_file" >/dev/null 2>&1
|
sudo pear config-set php_ini "$ini_file" >/dev/null 2>&1
|
||||||
|
sudo pear config-set auto_discover 1
|
||||||
|
sudo pear channel-update pear.php.net
|
||||||
add_log "$tick" "PECL" "Installed"
|
add_log "$tick" "PECL" "Installed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user