diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-12-02 23:53:33 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-12-02 23:53:33 +0100 |
commit | 765fc307767d8dabc19c8e76759c7c0b30e01e95 (patch) | |
tree | 63b953fc4a5038b508b7335bdf8bc6e6ccbb06ed /lib | |
parent | 4a68219789694ea685b189d2a2d2975c5592a3d2 (diff) | |
download | colin-keep-765fc307767d8dabc19c8e76759c7c0b30e01e95.tar colin-keep-765fc307767d8dabc19c8e76759c7c0b30e01e95.tar.gz colin-keep-765fc307767d8dabc19c8e76759c7c0b30e01e95.tar.bz2 colin-keep-765fc307767d8dabc19c8e76759c7c0b30e01e95.tar.xz colin-keep-765fc307767d8dabc19c8e76759c7c0b30e01e95.zip |
Wrong gurpm label (double increments)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AdminPanel/Rpmdragora/pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AdminPanel/Rpmdragora/pkg.pm b/lib/AdminPanel/Rpmdragora/pkg.pm index 0e8bce9..634bf69 100644 --- a/lib/AdminPanel/Rpmdragora/pkg.pm +++ b/lib/AdminPanel/Rpmdragora/pkg.pm @@ -836,7 +836,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( $gurpm->label($loc->N("Preparing package installation...")); } elsif (defined $pkg) { $something_installed = 1; - print($loc->N("Installing package `%s' (%s/%s)...", $pkg->name, ++$transaction_progress_nb, scalar(@{$transaction->{upgrade}}))."\n" . $loc->N("Total: %s/%s", ++$progress_nb, $install_count)); + print($loc->N("Installing package `%s' (%s/%s)...", $pkg->name, $transaction_progress_nb, scalar(@{$transaction->{upgrade}}))."\n" . $loc->N("Total: %s/%s", $progress_nb, $install_count)); $gurpm->label($loc->N("Installing package `%s' (%s/%s)...", $pkg->name, ++$transaction_progress_nb, scalar(@{$transaction->{upgrade}})) . "\n" . $loc->N("Total: %s/%s", ++$progress_nb, $install_count)); } |