summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-05-20 09:13:28 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-05-20 09:13:28 +0000
commitc85c0080935278c0786f5f7cbd5df444b46e0a21 (patch)
tree82c742cc7dad156d617f199d78edd2496e038d6b /perl-install
parent381a7bc452dc7218093e9228bfa9a587905b7992 (diff)
downloaddrakx-c85c0080935278c0786f5f7cbd5df444b46e0a21.tar
drakx-c85c0080935278c0786f5f7cbd5df444b46e0a21.tar.gz
drakx-c85c0080935278c0786f5f7cbd5df444b46e0a21.tar.bz2
drakx-c85c0080935278c0786f5f7cbd5df444b46e0a21.tar.xz
drakx-c85c0080935278c0786f5f7cbd5df444b46e0a21.zip
fix #3960: divide by zero execption
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakfont2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index 4efd6d815..57b672958 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -320,7 +320,7 @@ sub convert_fonts {
$o_generate_pfb = $o_generate_pfb ? "-b" : "";
foreach my $fontname (@$fonts) {
system("cd $drakfont_dir/tmp/tmp && $converter $o_generate_pfb $fontname");
- interactive_progress($pbar2, 0.50 / @$fontname, N("%s fonts conversion", $font_type));
+ interactive_progress($pbar2, 0.50 / @$fonts, N("%s fonts conversion", $font_type));
}
}