More inclusive rule for this php/sury hack because php version got updated to deb9u6

This commit is contained in:
Alexandre Aubin 2019-10-29 15:46:22 +01:00
parent f2db3d34dd
commit 854e52c21e

View file

@ -227,7 +227,7 @@ ynh_install_app_dependencies () {
if echo $dependencies | grep -q 'php';
then
# And we have packages from sury installed (7.0.33-10+weirdshiftafter instead of 7.0.33-0 on debian)
if dpkg --list | grep "php7.0" | grep -q -v "7.0.33-0+deb9u5"
if dpkg --list | grep "php7.0" | grep -q -v "7.0.33-0+deb9"
then
# And sury ain't already installed
if ! grep -nrq "sury" /etc/apt/sources.list*