From 3e2475f1ca37127856350fdb583d4bd86d49c0db Mon Sep 17 00:00:00 2001 From: David Cortijo Date: Fri, 26 Apr 2019 15:06:21 -0400 Subject: [PATCH] Debian file structure: Added 'shortversion' to the list of allowable @verdirs in list_php_fpm_configs --- php-lib.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/php-lib.pl b/php-lib.pl index dd528ca98..9d004703a 100755 --- a/php-lib.pl +++ b/php-lib.pl @@ -1754,7 +1754,8 @@ sub list_php_fpm_configs next; } my ($bestdir) = grep { /\Q$rv->{'version'}\E/ || - /\Q$rv->{'pkgversion'}\E/ } @verdirs; + /\Q$rv->{'pkgversion'}\E/ || + /\Q$rv->{'shortversion'}\E/ } @verdirs; $bestdir ||= $verdirs[0]; $rv->{'dir'} = $bestdir;