Skip to content

Commit

Permalink
Debian file structure: Added 'shortversion' to the list of allowable …
Browse files Browse the repository at this point in the history
…@verdirs in list_php_fpm_configs
  • Loading branch information
draxius committed Apr 26, 2019
1 parent d5408ca commit 3e2475f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion php-lib.pl
Expand Up @@ -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;

Expand Down

0 comments on commit 3e2475f

Please sign in to comment.