mod_php_install.sh: make the PECL installation of 'imap' a little more robust.
This commit is contained in:
@@ -6956,7 +6956,10 @@ if ([[ "$PHP_MAJOR_VERSION" -eq 8 ]] && [[ "$PHP_MINOR_VERSION" -ge 4 ]]) \
|
||||
|| dpkg -s libc-client2007f-dev > /dev/null 2>&1 \
|
||||
|| dpkg -s uw-imap-dev >/dev/null 2>&1; then
|
||||
|
||||
printf "\n" | ${PREFIX_PHP}/bin/pecl install imap >> "${_logdir}/pecl_install.log" 2>&1
|
||||
export CPPFLAGS="-I/usr/include"
|
||||
export LDFLAGS="-L/usr/lib"
|
||||
printf "no\nyes\n" | pecl install imap >> "${_logdir}/pecl_install.log" 2>&1
|
||||
|
||||
if [ "$?" = "0" ]; then
|
||||
echo_ok
|
||||
|
||||
|
||||
Reference in New Issue
Block a user