Merge pull request #229 from mlocati/amqp-fix

Fix installing AMQP on non-Debian PHP 5.5 images
pull/230/head 1.1.18
Michele Locati 2020-12-17 09:00:55 +01:00 committed by GitHub
commit fd2d0b9417
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -1351,14 +1351,14 @@ installPECLModule() {
installPECLModule_cppflags='' installPECLModule_cppflags=''
case "$installPECLModule_module" in case "$installPECLModule_module" in
amqp) amqp)
case "$DISTRO_VERSION" in
debian@8)
if test -z "$installPECLModule_version"; then if test -z "$installPECLModule_version"; then
if test "$DISTRO_VERSION" = debian@8; then
# in Debian Jessie we have librammitmq version 0.5.2 # in Debian Jessie we have librammitmq version 0.5.2
installPECLModule_version=1.9.3 installPECLModule_version=1.9.3
elif test $PHP_MAJMIN_VERSION -le 505; then
installPECLModule_version=1.9.4
fi
fi fi
;;
esac
;; ;;
apcu) apcu)
if test -z "$installPECLModule_version"; then if test -z "$installPECLModule_version"; then