diff options
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index aaf0b2e8c..eff46faf9 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -1169,12 +1169,8 @@ sub what_provides { } sub is_installed { - my ($do, @l) = @_; - foreach (@l) { - my $p = pkgs::packageByName($do->{o}{packages}, $_); - $p && $p->flag_available or return; - } - 1; + my ($do, $name) = @_; + are_installed($do, $name); } sub are_installed { |