[subversion-commit] SVN tex-common commit + diffs: r1764 - tex-common/trunk/scripts

Florent Rougon frn at costa.debian.org
Tue Oct 10 06:48:13 UTC 2006


Author: frn
Date: 2006-10-10 06:48:10 +0000 (Tue, 10 Oct 2006)
New Revision: 1764

Modified:
   tex-common/trunk/scripts/update-fontlang
Log:
* Bump version number
* Cosmetic fixes


Modified: tex-common/trunk/scripts/update-fontlang
===================================================================
--- tex-common/trunk/scripts/update-fontlang	2006-10-10 06:38:35 UTC (rev 1763)
+++ tex-common/trunk/scripts/update-fontlang	2006-10-10 06:48:10 UTC (rev 1764)
@@ -19,7 +19,7 @@
 # Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
 # Boston, MA  02110-1301 USA.
 
-version="0.9"
+version="1.0"
 progname=$(basename "$0")
 
 SYSPATH_BASE=/var/lib/texmf
@@ -273,15 +273,18 @@
         fi
     fi
 
-    # it could be that there is a DEFAULT_OUTPUTFILE_BASENAME file 
-    # in TEXMFCONFIG, which would be found instead of the
+    # It could be that there is a DEFAULT_OUTPUTFILE_BASENAME file 
+    # in TEXMFCONFIG, which would be found by kpathsea instead of the
     # output_file. So we check for this and give a warning in case
     # the created file would be shadowed.
     if [ $syswide_mode = 0 ] && [ $output_file_specified = 0 ]; then
         OLDIFS="$IFS"
         IFS=:
         for d in "$texmfconfig"; do
-            if [ ! "$d/$PATH_COMPONENT/$DEFAULT_OUTPUTFILE_BASENAME" = "$output_file" ] && [ -f "$d/$PATH_COMPONENT/$DEFAULT_OUTPUTFILE_BASENAME" ] ; then
+            if [ ! "$d/$PATH_COMPONENT/$DEFAULT_OUTPUTFILE_BASENAME" \
+                 = "$output_file" ] \
+                && [ -f "$d/$PATH_COMPONENT/$DEFAULT_OUTPUTFILE_BASENAME" ];
+                then
                 printf "\
 You are about to generate the file 
         $output_file
@@ -290,7 +293,7 @@
 which will shadow the former. We'll continue generating the first
 file, but to allow TeX and friends to find it, you'll have to remove the
 second one.\n"
-                # don't break out as we want to warn the user for *every*
+                # Don't break out as we want to warn the user for *every*
                 # shadowing file!
             fi
         done




More information about the Pkg-tetex-commits mailing list