Skip to content

Commit

Permalink
Skip FPM meta-package #103
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Sep 30, 2019
1 parent 4185857 commit 9abe167
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions php-lib.pl
Expand Up @@ -1715,6 +1715,12 @@ sub list_php_fpm_configs
my @pinfo = &software::package_info($pname);
next if (!@pinfo || !$pinfo[0]);

# The php-fpm package on Ubuntu is just a meta-package
if ($pname eq "php-fpm" && $pinfo[3] eq "all" &&
$gconfig{'os_type'} eq 'debian-linux') {
next;
}

# Normalize the version
my $rv = { 'package' => $pname };
$rv->{'version'} = $pinfo[4];
Expand Down

0 comments on commit 9abe167

Please sign in to comment.