summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-05-15 14:48:19 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-05-15 14:48:19 +0000
commitedab771887a39ccea67d243dd55994de1e2a0810 (patch)
tree58747d51328b2d2343e771226e1c12abb5c0d7da
parent16c876785ea04c33c5656b7fcfc8958f4b379dc4 (diff)
downloaddrakx-backup-do-not-use-edab771887a39ccea67d243dd55994de1e2a0810.tar
drakx-backup-do-not-use-edab771887a39ccea67d243dd55994de1e2a0810.tar.gz
drakx-backup-do-not-use-edab771887a39ccea67d243dd55994de1e2a0810.tar.bz2
drakx-backup-do-not-use-edab771887a39ccea67d243dd55994de1e2a0810.tar.xz
drakx-backup-do-not-use-edab771887a39ccea67d243dd55994de1e2a0810.zip
remove unused variable
-rwxr-xr-xperl-install/standalone/drakfont7
1 files changed, 2 insertions, 5 deletions
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index d3f12dcc0..d1bb2ddcc 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -168,8 +168,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 instead
-my $mkttfdir = '/usr/X11R6/bin/mkttfdir';
+# mkttfdir only knows about iso-8859-1, using ttmkfdir -u instead -- pablo
my $ttmkfdir = '/usr/sbin/ttmkfdir';
my $fccache = '/usr/bin/fc-cache';
my $ghostscript;
@@ -348,9 +347,7 @@ sub put_font_dir() {
interactive_progress($pbar2, 0.20, N("please wait during ttmkfdir..."));
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_progress($pbar2, 0.10, N("True Type install done"));
my $update_chkfontpath = "$chkfontpath -a $drakfont_dir/ttf";