summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakfont
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2003-02-18 20:39:49 +0000
committerPablo Saratxaga <pablo@mandriva.com>2003-02-18 20:39:49 +0000
commit0fbad48526c7a23536c1651c01bce8e0633d96d0 (patch)
tree64bba8d2a391b2d42f22dcf876b9c1a397210cf6 /perl-install/standalone/drakfont
parent0543dc7b3572717603755aaf2ed26346f566bc6f (diff)
downloaddrakx-0fbad48526c7a23536c1651c01bce8e0633d96d0.tar
drakx-0fbad48526c7a23536c1651c01bce8e0633d96d0.tar.gz
drakx-0fbad48526c7a23536c1651c01bce8e0633d96d0.tar.bz2
drakx-0fbad48526c7a23536c1651c01bce8e0633d96d0.tar.xz
drakx-0fbad48526c7a23536c1651c01bce8e0633d96d0.zip
Deactivated translations that can't be handled by gtk1 for gtk1 tools;
drakfont: call fc-cache without specifying the path, fc-cache is smart enough to do the right thing, and that way it will also catch fonts from other directories that could have been installed manually.
Diffstat (limited to 'perl-install/standalone/drakfont')
-rwxr-xr-xperl-install/standalone/drakfont10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index 42a6ff42b..4200b0b7b 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -362,7 +362,7 @@ sub put_font_dir {
my $ttfdir = $drakfont_dir . "/ttf";
# mkttfdir only knows about iso-8859-1, using ttmkfdir -u instead -- pablo
#`$mkttfdir $ttfdir`;
- system("cd $ttfdir && $fccache . && $ttmkfdir -u > fonts.dir");
+ system("cd $ttfdir && $fccache && $ttmkfdir -u > fonts.dir");
$interactive and progress($pbar2, 0.10, N("True Type install done"));
my $update_chkfontpath = "$chkfontpath -a $drakfont_dir/ttf";
@@ -379,7 +379,7 @@ sub put_font_dir {
and system("cd $drakfont_dir/tmp/Type1 && cat Fontmap >> `rpm -ql ghostscript | grep Fontmap.GS` ");
system("cd $drakfont_dir/tmp/Type1 && mv *.pfm *.gsf *.afm *.pfb ../../Type1 ");
my $type1dir = $drakfont_dir . "/Type1";
- system("cd $type1dir && $fccache . && $type1inst");
+ system("cd $type1dir && $fccache && $type1inst");
$interactive and progress($pbar2, 0.05, N("Ghostscript referencing"));
$update_chkfontpath .= "; $chkfontpath -a $drakfont_dir/Type1";
}
@@ -395,7 +395,7 @@ sub put_font_dir {
system("cd $drakfont_dir/tmp/Type1 && cat Fontmap >> `rpm -ql ghostscript | grep Fontmap.GS` ");
system("cd $drakfont_dir/tmp/Type1 && mv *.pfm *.afm *.gsf *.pfb ../../Type1 ");
my $type1dir = $drakfont_dir . "/Type1";
- system("cd $type1dir && $fccache . && $type1inst");
+ system("cd $type1dir && $fccache && $type1inst");
$interactive and progress($pbar2, 0.05, N("Ghostscript referencing"));
$update_chkfontpath .= "; $chkfontpath -a $drakfont_dir/Type1";
}
@@ -414,7 +414,7 @@ sub put_font_dir {
system("cd $drakfont_dir/tmp/tmp && mv *.afm ../Type1");
system("cd $drakfont_dir/tmp/Type1 && mv *.afm ../../Type1 ");
my $type1dir = $drakfont_dir . "/Type1";
- system("cd $type1dir && $fccache . && $type1inst");
+ system("cd $type1dir && $fccache && $type1inst");
$interactive and progress($pbar2, 0.14, N("type1inst building"));
$update_chkfontpath .= "; $chkfontpath -a $drakfont_dir/Type1";
}
@@ -463,7 +463,7 @@ sub remove_fonts {
if (/.ttf$/) {
rm_rf($_);
# rebuild of the fonts.dir and fc-cache files
- system("cd `dirname $_` && $fccache . && $ttmkfdir -u > fonts.dir");
+ system("cd `dirname $_` && $fccache && $ttmkfdir -u > fonts.dir");
}
else { rm_rf($i) }
}