From 0f4ad0ec62a120258307c5bcad6f68abbb2d369a Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sun, 2 Apr 2017 12:24:48 +0100 Subject: Fix fast path for do_pkgs::ensure_is_installed(). The refactoring in commit de1fcc27f943f4ae7b8ac4147a36b196c236619e failed to pass $o_file down to is_installed(). --- perl-install/do_pkgs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/do_pkgs.pm b/perl-install/do_pkgs.pm index e4b9b0198..1715ac1a8 100644 --- a/perl-install/do_pkgs.pm +++ b/perl-install/do_pkgs.pm @@ -38,7 +38,7 @@ If $b_auto is set, (g)urpmi will not ask any questions. sub ensure_is_installed { my ($do, $pkg, $o_file, $b_auto) = @_; - if ($do->is_installed($pkg)) { + if ($do->is_installed($pkg, $o_file)) { return 1; } -- cgit v1.2.1