From 84f87d21bcb44476243e93a4b840116ae64f27d2 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 19 May 2015 05:18:04 -0400 Subject: fix crash with --windows_import (mga9347) bug introduced in commit a8111ada7f12b135d6abf5b6d86084b3377da08c --- perl-install/NEWS | 1 + perl-install/standalone/drakfont | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index aff912053..408e2190f 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,5 +1,6 @@ - drakfont: o fix crash (mga#13627) + o fix crash with --windows_import (mga9347) Version 16.26.13 - 14 May 2015 diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont index ade0d51c5..ad54ebae4 100755 --- a/perl-install/standalone/drakfont +++ b/perl-install/standalone/drakfont @@ -214,7 +214,7 @@ sub search_windows_font() { return 0; } foreach my $font (@fonts) { - progress($pbar, 0.25 / $nb_dir, N("parse all fonts")); + progress($pbar, 0.25 / $nb_dir, N("parse all fonts")) if $interactive; my $font_name = basename($font); !$replace && any { /^\Q$font_name\E$/ } @installed_fonts and next; any { /^\Q$font_name\E$/ } @font_list or push @font_list, $font; -- cgit v1.2.1