Update PEAR channel after installation

This commit is contained in:
Shivam Mathur 2019-12-10 05:34:26 +05:30
parent e3d18718a9
commit 87e6c70743
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -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