diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-05-01 23:02:02 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-05-01 23:02:02 +0000 |
commit | e3093b811019cc0467f38b744e12ec6871a8d17e (patch) | |
tree | cefa6f3f2bb0bf7bf5847ac4870fd8d0a2133e35 /perl-install/install_steps.pm | |
parent | a613dd1d2271b7733fb05c14ac52964f719f9fa6 (diff) | |
download | drakx-e3093b811019cc0467f38b744e12ec6871a8d17e.tar drakx-e3093b811019cc0467f38b744e12ec6871a8d17e.tar.gz drakx-e3093b811019cc0467f38b744e12ec6871a8d17e.tar.bz2 drakx-e3093b811019cc0467f38b744e12ec6871a8d17e.tar.xz drakx-e3093b811019cc0467f38b744e12ec6871a8d17e.zip |
no_comment
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 7adb6c7e2..d061a231e 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -389,14 +389,14 @@ Consoles 1,3,4,7 may also contain interesting information"; } my $hasttf; - my $dest = "$o->{prefix}/usr/X11R6/lib/X11/fonts/drakfont"; + my $dest = "/usr/X11R6/lib/X11/fonts/drakfont"; foreach my $d (map { $_->{mntpoint} } grep { isFat($_) } @{$o->{fstab}}) { foreach my $D (map { "$d/$_" } grep { m|^win|i } all("$o->{prefix}$d")) { $D .= "/fonts"; -d "$o->{prefix}$D" or next; log::l("found win font dir $D"); - $hasttf ||= mkdir $dest, 0755; - /(.*)\.ttf/i and symlink "$D/$_", "$dest/$1.ttf" foreach grep { /\.ttf/i } all("$o->{prefix}$D"); + $hasttf ||= mkdir "$o->{prefix}$dest", 0755; + /(.*)\.ttf/i and symlink "$D/$_", "$o->{prefix}$dest/$1.ttf" foreach grep { /\.ttf/i } all("$o->{prefix}$D"); } } run_program::rooted($o->{prefix}, "ttmkfdir", "-d", $dest, "-o", "$dest/fonts.dir") if $hasttf; |