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.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/crypto.pm b/perl-install/crypto.pm
index 56fd10a9e..ca302b02e 100644
--- a/perl-install/crypto.pm
+++ b/perl-install/crypto.pm
@@ -147,7 +147,7 @@ sub getPackages {
$update_medium->{update} = 1;
#- search for packages to update.
- $packages->{rpmdb} ||= pkgs::rpmDbOpen($o->{prefix});
+ $packages->{rpmdb} ||= pkgs::rpmDbOpen($prefix);
pkgs::selectPackagesToUpgrade($packages, $prefix, $update_medium);
return $update_medium;