summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/install.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index e0d22441..0e4cd81b 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -120,6 +120,8 @@ sub install_logger {
++$urpm->{logger_count} if $pname;
$cnt = $pname ? $urpm->{logger_count} : '-';
}
+ require urpm::select;
+ $index++ if urpm::select::_rpm_version() lt 4.13.0;
my $s = sprintf("%9s: %-22s", $cnt . "/" . $total_pkg, $pname);
print $s;
$s =~ / $/ or printf "\n%9s %-22s", '', '';