summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakfont
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-06-06 15:35:28 +0000
committerThierry Vignaud <tv@mandriva.org>2007-06-06 15:35:28 +0000
commitf9c5392f0e8897a3a5023d46c57f855aece82ad9 (patch)
tree43c72ee7b7a74ea7c05b5ae0246e2171812901b5 /perl-install/standalone/drakfont
parent59e9c5215e7a3ad55270be1d7ffa473fc6d9fb19 (diff)
downloaddrakx-backup-do-not-use-f9c5392f0e8897a3a5023d46c57f855aece82ad9.tar
drakx-backup-do-not-use-f9c5392f0e8897a3a5023d46c57f855aece82ad9.tar.gz
drakx-backup-do-not-use-f9c5392f0e8897a3a5023d46c57f855aece82ad9.tar.bz2
drakx-backup-do-not-use-f9c5392f0e8897a3a5023d46c57f855aece82ad9.tar.xz
drakx-backup-do-not-use-f9c5392f0e8897a3a5023d46c57f855aece82ad9.zip
(search_windows_font) fix enumerating fonts on old windows (#28016)
Diffstat (limited to 'perl-install/standalone/drakfont')
-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 8b5715b06..3a8e1594e 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -201,7 +201,7 @@ sub search_installed_fonts_full_path() {
sub search_windows_font() {
foreach my $fstab_line (grep { /vfat|smbfs|ntfs|fuse/ } cat_('/etc/mtab')) {
my $win_dir = (split('\s', $fstab_line))[1];
- my @list_fonts_win = all("$win_dir/windows/fonts"), all("$win_dir/WINDOWS/Fonts");
+ my @list_fonts_win = (all("$win_dir/windows/fonts"), all("$win_dir/WINDOWS/Fonts"));
my @list_fonts_winnt = all("$win_dir/winnt/fonts");
my $nb_dir = @list_fonts_win + @list_fonts_winnt;
foreach ([ \@list_fonts_win, "windows" ],