diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 3 | ||||
-rwxr-xr-x | perl-install/standalone/drakfont | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index ec1a59ed4..caf9b386f 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,5 +1,8 @@ - drakboot: o make sure users are not listed twice (#38116) +- drakfont: + o fix crashing when encountering file names with meta characters on + windows partitions (#36482) - diskdrake: o jfsprogs is now jfsutils - drop support for arch now that rpmdrake-4.3 dropped it diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont index 7871a94bf..fae4e5400 100755 --- a/perl-install/standalone/drakfont +++ b/perl-install/standalone/drakfont @@ -217,8 +217,8 @@ sub search_windows_font() { foreach my $font (@fonts) { progress($pbar, 0.25 / $nb_dir, N("parse all fonts")); my $font_name = basename($font); - !$replace && any { /^$font_name$/ } @installed_fonts and next; - any { /^$font_name$/ } @font_list or push @font_list, $font; + !$replace && any { /^\Q$font_name\E$/ } @installed_fonts and next; + any { /^\Q$font_name\E$/ } @font_list or push @font_list, $font; } $interactive && $nb_dir and progress($pbar, 1, N("done")); if (!@font_list) { |