From 25e7ebf7044ce00261f145972849ec383b33e6ca Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 12 Oct 2021 12:57:24 +0200 Subject: [PATCH] mod_php_install.sh: fix error installing php 7.x on debian os version greater then 10. --- mod_php_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_php_install.sh b/mod_php_install.sh index 7c18352..7138370 100755 --- a/mod_php_install.sh +++ b/mod_php_install.sh @@ -1008,7 +1008,7 @@ _install_libxml2=false if ([[ "$PHP_MAJOR_VERSION" -eq 7 ]] && [[ "$PHP_MINOR_VERSION" -lt 4 ]]) \ || [[ "$PHP_MAJOR_VERSION" -lt 7 ]] ; then - if [[ "$os_dist" = "debian" ]] && [[ $os_version -eq 10 ]] ; then + if [[ "$os_dist" = "debian" ]] && [[ $os_version -gt 9 ]] ; then echo "" echo "" echo -e "\033[32m--\033[m"