Author: stubner-guest
Date: 2005-10-15 21:00:01 +0000 (Sat, 15 Oct 2005)
New Revision: 231

Modified:
   tex-common/trunk/debhelper/dh_installtexfonts
Log:
* create the directories var/lib/tex-common/fontmap-cfg and
  etc/texmf/updmap.d 
* refer to Debian TeX policy instead of Debian policy


Modified: tex-common/trunk/debhelper/dh_installtexfonts
===================================================================
--- tex-common/trunk/debhelper/dh_installtexfonts       2005-10-15 19:46:37 UTC 
(rev 230)
+++ tex-common/trunk/debhelper/dh_installtexfonts       2005-10-15 21:00:01 UTC 
(rev 231)
@@ -28,8 +28,8 @@
 
 =head1 NOTES
 
-See Debian policy, section 11.8.5. for details about doing fonts the Debian
-way.
+See Debian TeX policy, section 4.1.1. for details about doing fonts for TeX 
+the Debian way.
 
 =cut
 
@@ -50,6 +50,10 @@
                push @maps, @ARGV;
        }
 
+
+        if ( ! -d "$tmp/etc/texmf/updmap.d/") {
+            doit("install","-d","$tmp/etc/texmf/updmap.d/");
+        }
        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;
@@ -65,6 +69,9 @@
                print CFGFILE "Map $_\n";
        }
        close(CFGFILE);
+        if ( ! -d "$tmp/var/lib/tex-common/fontmap-cfg/") {
+            doit("install","-d","$tmp/var/lib/tex-common/fontmap-cfg/");
+        }
        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";


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

Reply via email to