[Debian-tex-commits] SVN tex-common commit + diffs: r2960 - tex-common/trunk/scripts

Frank Küster frank at alioth.debian.org
Thu Jun 14 08:16:55 UTC 2007


Author: frank
Date: 2007-06-14 08:16:55 +0000 (Thu, 14 Jun 2007)
New Revision: 2960

Modified:
   tex-common/trunk/scripts/debianize-updmap
Log:
some minor fixes to debianize-updmap


Modified: tex-common/trunk/scripts/debianize-updmap
===================================================================
--- tex-common/trunk/scripts/debianize-updmap	2007-06-14 08:15:48 UTC (rev 2959)
+++ tex-common/trunk/scripts/debianize-updmap	2007-06-14 08:16:55 UTC (rev 2960)
@@ -55,6 +55,7 @@
 #  verboseMsg "entering FindDebianUserdir"
 
   defaultuserdir=$HOME/.texmf-config/updmap.d
+  /usr/share/texmf/web2c/mktexdir $defaultuserdir
 
   # this should read a config item in updmap.cfg, but for now we just
   # check whether the default exists.
@@ -317,7 +318,6 @@
 ###############################################################################
 # findRightLocalfile (mapname)
 #   find the right file to enable mapname, site-wide or user-specific
-#   mapname is only needed for the error message
 ###############################################################################
 findRightLocalfile(){
   mapName=$1
@@ -326,7 +326,6 @@
     DebCnfFile=`pickLocalFile $mapName /etc/texmf/updmap.d`
   else
     debianuserdir=`FindDebianUserdir`
-    /usr/share/texmf/web2c/mktexdir $debianuserdir
     test -w $debianuserdir || (
       echo "Target directory $debianuserdir not writable."
       echo "Exiting"
@@ -542,7 +541,7 @@
   echo ""
   echo "In Debian, updmap.cfg, the font configuration file, is a generated file."
   echo "The actual configuration files are in /etc/texmf/updmap.d."
-  echo "Please read the updmap(1) manpage and edit those files."
+  echo "Please read the update-updmap(1) manpage and edit those files."
   echo ""
   echo "Instead of editing, you will now be shown updmap.cfg in a pager."
   echo ""
@@ -551,4 +550,4 @@
   
   sensible-pager $cnfFile
 
-}
\ No newline at end of file
+}




More information about the Debian-tex-commits mailing list