Add support for zstd

This commit is contained in:
Michele Locati 2021-01-23 16:39:58 +01:00
parent ecc7ca0f71
commit e6ec222430
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
2 changed files with 2 additions and 1 deletions

View File

@ -93,3 +93,4 @@ yaml 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
yar 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
zip 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
zookeeper 5.5 5.6 7.0 7.1 7.2 7.3 7.4
zstd 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0

View File

@ -2164,7 +2164,7 @@ configureInstaller() {
if ! stringInList 'zip' "$PHP_PREINSTALLED_MODULES"; then
PHP_MODULES_TO_INSTALL="zip $(removeStringFromList 'zip' "$PHP_MODULES_TO_INSTALL")"
fi
if anyStringInList 'swoole xdebug xhprof pdo_sqlsrv sqlsrv igbinary seaslog' "$PHP_MODULES_TO_INSTALL"; then
if anyStringInList 'swoole xdebug xhprof pdo_sqlsrv sqlsrv igbinary seaslog zstd' "$PHP_MODULES_TO_INSTALL"; then
USE_PICKLE=2
else
curl -sSLf https://github.com/FriendsOfPHP/pickle/releases/latest/download/pickle.phar -o /tmp/pickle