Author: preining-guest
Date: 2005-10-15 18:51:31 +0000 (Sat, 15 Oct 2005)
New Revision: 229

Modified:
   tex-common/trunk/debhelper/dh_installtexfonts
Log:
working version of dh_installtexfonts


Modified: tex-common/trunk/debhelper/dh_installtexfonts
===================================================================
--- tex-common/trunk/debhelper/dh_installtexfonts       2005-10-15 18:37:01 UTC 
(rev 228)
+++ tex-common/trunk/debhelper/dh_installtexfonts       2005-10-15 18:51:31 UTC 
(rev 229)
@@ -50,8 +50,8 @@
                push @maps, @ARGV;
        }
 
-       open(CFGFILE, ">$tmp/etc/texmf/updmap.d/50$package.cfg") || \
-               error("Cannot open $tmp/etc/texmf/updmap.d/10$package.cfg for 
writing!);
+       open(CFGFILE, ">$tmp/etc/texmf/updmap.d/50$package.cfg") || 
+               error("Cannot open $tmp/etc/texmf/updmap.d/10$package.cfg for 
writing!");
        print CFGFILE <<EOF;
 # 50$package.cfg
 # You can change/add entries to this file and changes will be preserved
@@ -61,12 +61,12 @@
 # -_- DebPkgProvidedMaps -_-
 #
 EOF
-       while (@maps) {
+       foreach (@maps) {
                print CFGFILE "Map $_\n";
        }
        close(CFGFILE);
-       open(LISTFILE, ">$tmp/var/lib/tex-common/fmtutil-cnf/$package.list")||\
-               error("Cannot open 
$tmp/var/lib/tex-common/fmtutil-cnf/$package.list for writing!);
+       open(LISTFILE, ">$tmp/var/lib/tex-common/fontmap-cfg/$package.list")||
+               error("Cannot open 
$tmp/var/lib/tex-common/fmtutil-cnf/$package.list for writing!");
        print LISTFILE "50$package";
        close(LISTFILE);
 


_______________________________________________
Pkg-tetex-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-tetex-commits

Reply via email to