mod_php_install.sh: change mcrypt version to 1.0.4 in case of manual install.

This commit is contained in:
Christoph 2022-02-09 02:20:21 +01:00
parent 24962478bf
commit f1360fbd86

View File

@ -4547,7 +4547,7 @@ if ([[ "$PHP_MAJOR_VERSION" -eq 7 ]] && [[ "$PHP_MINOR_VERSION" -ge 2 ]]) \
echo "printf \"\\n\" | ${PREFIX_PHP}/bin/pecl install mcrypt-1.0.1" >> ${_logdir}/pecl_install.log
echononl "\tTry to install mcrypt verision 1.0.1"
printf "\n" | ${PREFIX_PHP}/bin/pecl install mcrypt-1.0.1 >> "${_logdir}/pecl_install.log" 2>&1
printf "\n" | ${PREFIX_PHP}/bin/pecl install mcrypt-1.0.4 >> "${_logdir}/pecl_install.log" 2>&1
if [[ $? -eq 0 ]]; then
echo_ok
else