[Debian-tex-commits] SVN tex-common commit + diffs: r2961 - in tex-common/trunk: debian scripts

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


Author: frank
Date: 2007-06-14 08:17:27 +0000 (Thu, 14 Jun 2007)
New Revision: 2961

Modified:
   tex-common/trunk/debian/changelog
   tex-common/trunk/scripts/update-fontlang
Log:
  * Make sure that update-fontlang detects TEXMFVAR properly even if the
    directory does not yet exist (closes: #428448)


Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog	2007-06-14 08:16:55 UTC (rev 2960)
+++ tex-common/trunk/debian/changelog	2007-06-14 08:17:27 UTC (rev 2961)
@@ -1,3 +1,10 @@
+tex-common (1.9~1) unstable; urgency=low
+
+  * Make sure that update-fontlang detects TEXMFVAR properly even if the
+    directory does not yet exist (closes: #428448)
+
+ -- Frank Küster <frank at debian.org>  Wed, 13 Jun 2007 15:33:35 +0200
+
 tex-common (1.8) unstable; urgency=medium
 
   * Bump urgency since this fixes a RC bug which hits anyone upgrading

Modified: tex-common/trunk/scripts/update-fontlang
===================================================================
--- tex-common/trunk/scripts/update-fontlang	2007-06-14 08:16:55 UTC (rev 2960)
+++ tex-common/trunk/scripts/update-fontlang	2007-06-14 08:17:27 UTC (rev 2961)
@@ -477,8 +477,8 @@
     IFS="$OLDIFS"
 
     # Does $TEXMFVAR expand to a single directory?
-    texmfvar=$(kpsewhich --expand-path '$TEXMFVAR')
-    if ! echo "$texmfvar" | grep -e ':'; then
+    texmfvar=$(kpsewhich --var-value 'TEXMFVAR')
+    if ! echo "$texmfvar" | grep -e '[,:]'; then 
         output_file="$texmfvar/$PATH_COMPONENT/$DEFAULT_OUTPUTFILE_BASENAME"
     else
         # We don't know what to do in this case, therefore: do nothing unless




More information about the Debian-tex-commits mailing list