diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-24 14:51:25 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-24 14:51:25 +0000 |
commit | 5ec1354caaa5c47a2e11bf6e1354cf2d18c354b3 (patch) | |
tree | 0bb8374bd22a140a1ae2c00b03cb1753894d49e5 | |
parent | e1d5b333307b0f44c64060e2362513ecc756073f (diff) | |
download | drakx-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-x | perl-install/standalone/drakfont | 7 |
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"); + } } |