Update may 2021

-node.sh: info about local pacakges
-mas.sh: mas v1.8.2
-homebrew.sh: minor bugfixes
-pecl.sh: add update-channels command
This commit is contained in:
2021-05-17 16:03:20 +02:00
parent 6d98e2043e
commit 9fc8f9668f
4 changed files with 133 additions and 23 deletions

View File

@@ -63,8 +63,19 @@ elif [ "$v" = "8.0" ]; then
php_path=$(brew --prefix)/opt/php/bin
fi
pecl_list=$($php_path/pecl list)
echo -e "$pecl_list\n"
# Note that all public channels can be synced using "update-channels"
echo -e "${underline}Updating all channels...${reset}"
$php_path/pecl update-channels
#pecl channel-update pecl.php.net
#pecl channel-update pear.php.net
# List Installed Packages In The Default Channel
#pecl_list=$($php_path/pecl list)
# List installed packages from all channels
pecl_list=$($php_path/pecl list -a)
echo -e "\n$pecl_list\n"
# Installation imagick:
# https://github.com/Imagick/imagick
@@ -74,6 +85,7 @@ echo -e "$pecl_list\n"
#make
#make install
pecl_upgrade=$($php_path/pecl list-upgrades)
@@ -168,6 +180,3 @@ fi
echo ""
echo ""
# WARNING: channel "pear.php.net" has updated its protocols,
# use "pecl channel-update pear.php.net" to update