summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-05-02 14:52:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-05-02 14:52:41 +0000
commitc367a7b536cbc28a666370a8935718980bdc5ee3 (patch)
tree367cf2853e3fa81eee160437c102ca8c6b3b39dc /perl-install/install_steps.pm
parentb6b6e19519b647762f5b1497387893bc8094f879 (diff)
downloaddrakx-c367a7b536cbc28a666370a8935718980bdc5ee3.tar
drakx-c367a7b536cbc28a666370a8935718980bdc5ee3.tar.gz
drakx-c367a7b536cbc28a666370a8935718980bdc5ee3.tar.bz2
drakx-c367a7b536cbc28a666370a8935718980bdc5ee3.tar.xz
drakx-c367a7b536cbc28a666370a8935718980bdc5ee3.zip
no_comment
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index d061a231e..4ed27fb1e 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -399,8 +399,10 @@ Consoles 1,3,4,7 may also contain interesting information";
/(.*)\.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;
-
+ if ($hasttf) {
+ run_program::rooted($o->{prefix}, "ttmkfdir", "-d", $dest, "-o", "$dest/fonts.dir");
+ run_program::rooted($o->{prefix}, "chkfontpath", "--add", $dest);
+ }
foreach (install_any::list_skels()) {
my $found;
substInFile {