-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ok, after dam's miserable attempt to fix it (just joking) here is my way:
it seems that the latest fix uses this line to rename to ttf fonts:
system ("cd $drakfont_dir/tmp/tmp ; for i in *.TTF; do mv -f $i `basename $i
.TTF`.ttf; done");
For some reason this does not work (maybe because of backticks or $?) in perl, but the
next one does:
system ('cd '.$drakfont_dir.'/tmp/tmp ; for i in *.TTF; do mv -f $i `basename $i
.TTF`.ttf; done');
Now, lets hope nobody has fonts named ArIal.TtF (because I do not know how to do that:)
Next follows a diff for drakfont (drakxtools-1.1.7-89mdk):
- --- drakfont Sun Mar 3 21:59:49 2002
+++ drakfont.new Wed Mar 6 23:11:43 2002
@@ -351,8 +351,8 @@
}
$interactive and progress($pbar1, 0.01, _("done"));
$interactive and progress($pbar2, 0.10, _("True Type fonts installation"));
- -
- - system ("cd $drakfont_dir/tmp/tmp ; for i in *.TTF; do mv -f $i `basename $i
.TTF`.ttf; done");
+
+ system ('cd '.$drakfont_dir.'/tmp/tmp ; for i in *.TTF; do mv -f $i `basename
+$i .TTF`.ttf; done');
system ("cd $drakfont_dir/tmp/tmp && cp *.ttf ../../ttf");
$interactive and progress($pbar2, 0.20, _("please wait during ttmkfdir..."));
system ("cd $drakfont_dir/ttf && $ttmkfdir > fonts.dir" );
- --
"You're one hundred percent positive that the ship which is
crashed on the bottom of this ocean is the ship which you
said you were one hundred percent positive could one
hundred percent positively never crash? "
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8hpKzaeiN+EU2vEIRAsyWAJ9BbCfB/SJmFopVt94J5PwTMThDXACfaIW5
w0XVDlAezQF3SqVs0aRfrU0=
=betN
-----END PGP SIGNATURE-----