summaryrefslogtreecommitdiffstats
path: root/perl-install/crypto.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/crypto.pm')
-rw-r--r--perl-install/crypto.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/crypto.pm b/perl-install/crypto.pm
index c9ef09f04..56fd10a9e 100644
--- a/perl-install/crypto.pm
+++ b/perl-install/crypto.pm
@@ -146,6 +146,10 @@ sub getPackages {
$update_medium->{selected} = 1;
$update_medium->{update} = 1;
+ #- search for packages to update.
+ $packages->{rpmdb} ||= pkgs::rpmDbOpen($o->{prefix});
+ pkgs::selectPackagesToUpgrade($packages, $prefix, $update_medium);
+
return $update_medium;
}