diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-10-07 11:58:42 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-10-07 11:58:42 +0000 |
commit | a1e80f3d05acf385da2fb212a5401d4de4c89f04 (patch) | |
tree | 827a2632109022868fa639870f8ffc33aea86cfa /perl-install/standalone | |
parent | 6ea0934866fa07a8a77a1bd69d1251b4ae1ed2ab (diff) | |
download | drakx-backup-do-not-use-a1e80f3d05acf385da2fb212a5401d4de4c89f04.tar drakx-backup-do-not-use-a1e80f3d05acf385da2fb212a5401d4de4c89f04.tar.gz drakx-backup-do-not-use-a1e80f3d05acf385da2fb212a5401d4de4c89f04.tar.bz2 drakx-backup-do-not-use-a1e80f3d05acf385da2fb212a5401d4de4c89f04.tar.xz drakx-backup-do-not-use-a1e80f3d05acf385da2fb212a5401d4de4c89f04.zip |
mkttfdir -u option is no more
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakfont | 6 |
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; |