summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-10-07 11:58:42 +0000
committerThierry Vignaud <tv@mageia.org>2012-10-07 11:58:42 +0000
commitfd49a32255255bd6fe99d914be288290c267932d (patch)
tree827a2632109022868fa639870f8ffc33aea86cfa /perl-install
parenta163db778ee0de4f9c34b5b9a6cb17b8f41fc9a5 (diff)
downloaddrakx-fd49a32255255bd6fe99d914be288290c267932d.tar
drakx-fd49a32255255bd6fe99d914be288290c267932d.tar.gz
drakx-fd49a32255255bd6fe99d914be288290c267932d.tar.bz2
drakx-fd49a32255255bd6fe99d914be288290c267932d.tar.xz
drakx-fd49a32255255bd6fe99d914be288290c267932d.zip
mkttfdir -u option is no more
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakfont6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index 68d7a0d8b..0b8f9ec39 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -154,7 +154,7 @@ my $ttf2pt1 = '/usr/sbin/ttf2pt1';
my $pfm2afm = '/usr/sbin/pfm2afm';
my $type1inst = '/usr/sbin/type1inst';
my $chkfontpath = '/usr/sbin/chkfontpath';
-# mkttfdir only knows about iso-8859-1, using ttmkfdir -u instead -- pablo
+# mkttfdir only knows about iso-8859-1, using ttmkfdir instead -- pablo
my $ttmkfdir = '/usr/bin/ttmkfdir';
my $fccache = '/usr/bin/fc-cache';
@@ -346,7 +346,7 @@ sub put_font_dir() {
}
system('cd ' . $temp_dir . ' && cp *.ttf ../../ttf; chmod 644 ../../ttf/*ttf') if glob("$temp_dir/*.ttf");
interactive_progress($pbar2, 0.20, N("please wait during ttmkfdir..."));
- put_font_dir_real("ttf", "$ttmkfdir -u > fonts.dir", 0.10, N("True Type install done"));
+ put_font_dir_real("ttf", "$ttmkfdir > fonts.dir", 0.10, N("True Type install done"));
if ($gs) {
convert_ttf_fonts([ glob("$drakfont_dir/tmp/tmp/*.ttf") ], 1);
@@ -418,7 +418,7 @@ sub remove_fonts() {
if (/.ttf$/) {
my_rm_rf($_);
# rebuild of the fonts.dir and fc-cache files
- system("cd `dirname $_` && $fccache && $ttmkfdir -u > fonts.dir");
+ system("cd `dirname $_` && $fccache && $ttmkfdir > fonts.dir");
} else { my_rm_rf($i) }
}
$i =~ s!/\w*\.\w*!!gi;