diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-12-02 23:38:25 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-12-02 23:38:25 +0100 |
commit | 6c66db7463a625be1a0b9e3586a100105e5f95ae (patch) | |
tree | 3f47f6db4f45199bd33153fbc496b46eae316a54 /lib/AdminPanel/Rpmdragora | |
parent | 1717afbf532961cb64269560060d8b93e977f936 (diff) | |
download | colin-keep-6c66db7463a625be1a0b9e3586a100105e5f95ae.tar colin-keep-6c66db7463a625be1a0b9e3586a100105e5f95ae.tar.gz colin-keep-6c66db7463a625be1a0b9e3586a100105e5f95ae.tar.bz2 colin-keep-6c66db7463a625be1a0b9e3586a100105e5f95ae.tar.xz colin-keep-6c66db7463a625be1a0b9e3586a100105e5f95ae.zip |
Fix download percentage
Diffstat (limited to 'lib/AdminPanel/Rpmdragora')
-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 afa8832..0e8bce9 100644 --- a/lib/AdminPanel/Rpmdragora/pkg.pm +++ b/lib/AdminPanel/Rpmdragora/pkg.pm @@ -223,7 +223,7 @@ sub download_callback { ), ); #$gurpm->progress($percenti/100); - $gurpm->progress(ceil($percent*100)); + $gurpm->progress(ceil($percent)); } elsif ($mode eq 'end') { $gurpm->progress(100); $gurpm->invalidate_cancel; |