summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-24 14:51:25 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-24 14:51:25 +0000
commit5ec1354caaa5c47a2e11bf6e1354cf2d18c354b3 (patch)
tree0bb8374bd22a140a1ae2c00b03cb1753894d49e5
parente1d5b333307b0f44c64060e2362513ecc756073f (diff)
downloaddrakx-5ec1354caaa5c47a2e11bf6e1354cf2d18c354b3.tar
drakx-5ec1354caaa5c47a2e11bf6e1354cf2d18c354b3.tar.gz
drakx-5ec1354caaa5c47a2e11bf6e1354cf2d18c354b3.tar.bz2
drakx-5ec1354caaa5c47a2e11bf6e1354cf2d18c354b3.tar.xz
drakx-5ec1354caaa5c47a2e11bf6e1354cf2d18c354b3.zip
(dir_created) configure fontpath.d for drakfont
-rwxr-xr-xperl-install/standalone/drakfont7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index 0b30faf29..136c3c392 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -282,7 +282,12 @@ sub print_list() {
sub dir_created() {
return if $::testing;
- do { my $dir = "$drakfont_dir/$_"; -e $dir or mkdir_p($dir) } foreach qw(Type1 ttf otf ttc tmp/ttf tmp/Type1 tmp/tmp);
+ foreach (qw(Type1 ttf otf ttc tmp/ttf tmp/Type1 tmp/tmp)) {
+ my $dir = "$drakfont_dir/$_";
+ next if -e $dir;
+ mkdir_p($dir);
+ symlink($dir, "$fontpathd_dir/drakfont_$_:pri=50");
+ }
}