mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 16:22:20 +02:00
N°5122 - Update libs to new PHP requirements
This commit is contained in:
14
lib/laminas/laminas-mail/.laminas-ci/pre-run.sh
Normal file
14
lib/laminas/laminas-mail/.laminas-ci/pre-run.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
INTL_EXTENSION=$(php -r 'echo sprintf("php%s.%s-intl",PHP_MAJOR_VERSION,PHP_MINOR_VERSION);')
|
||||
|
||||
echo -e "Removing $INTL_EXTENSION extension:\n"
|
||||
sudo apt remove "$INTL_EXTENSION" -y
|
||||
|
||||
echo -e "Cleaning up:\n"
|
||||
sudo apt autoclean && sudo apt autoremove
|
||||
|
||||
echo -e "Installed extensions:\n"
|
||||
/usr/local/bin/php-extensions-with-version.php
|
||||
Reference in New Issue
Block a user