Execute pecl channel-update pecl.php.net

Fixes this warning:
channel "pecl.php.net" has updated its protocols,
use "pecl channel-update pecl.php.net" to update
pull/154/head
Michele Locati 2020-07-31 18:16:35 +02:00
parent 0de5f9a590
commit 7ef81a96dc
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 1 additions and 0 deletions

View File

@ -1331,6 +1331,7 @@ installPECLModule() {
if test "$1" != "$installPECLModule_actual"; then if test "$1" != "$installPECLModule_actual"; then
printf ' (installing version %s)\n' "$installPECLModule_actual" printf ' (installing version %s)\n' "$installPECLModule_actual"
fi fi
pecl channel-update pecl.php.net || true
printf "$installPECLModule_stdin" | pecl install "$installPECLModule_actual" printf "$installPECLModule_stdin" | pecl install "$installPECLModule_actual"
fi fi
case "$1" in case "$1" in