Author: stubner-guest
Date: 2006-10-07 10:26:59 +0000 (Sat, 07 Oct 2006)
New Revision: 1695

Modified:
   tex-common/trunk/scripts/update-fontlang
Log:
- update sanity check to new TEXMFSYSCONFIG location
- mention also TeX Live in the error message


Modified: tex-common/trunk/scripts/update-fontlang
===================================================================
--- tex-common/trunk/scripts/update-fontlang    2006-10-06 16:56:22 UTC (rev 
1694)
+++ tex-common/trunk/scripts/update-fontlang    2006-10-07 10:26:59 UTC (rev 
1695)
@@ -251,17 +251,17 @@
     # Check for $DEFAULT_OUTPUTFILE_BASENAME in wrong places (currently,
     # only enabled for update-updmap), if running in system-wide mode.
     if [ $syswide_mode = 1 ] && [ "$progname" = "update-updmap" ]; then
-        
badly_located_cfg_file="/usr/share/texmf/web2c/$DEFAULT_OUTPUTFILE_BASENAME"
+        badly_located_cfg_file="/etc/texmf/web2c/$DEFAULT_OUTPUTFILE_BASENAME"
         badly_used_prg=updmap-sys
         bad_options="--edit, --syncwithtrees, etc."
 
         if [ -e "$badly_located_cfg_file" ]; then
             printf "\
 Error: '$badly_located_cfg_file' should not exist when using the
-       Debian teTeX packages. Presumably, you used ${badly_used_prg} in 
maintainance
-       mode (options ${bad_options}).
-       This shouldn't be done with the Debian teTeX packages. Instead, you
-       should edit the files in ${SYSWIDE_CONFDIR}/ and run ${progname},
+       Debian teTeX or TeX Live packages. Presumably, you used 
${badly_used_prg} 
+       in maintainance mode (options ${bad_options}).
+       This shouldn't be done with the Debian teTeX or TeX Live packages. 
Instead,
+       you should edit the files in ${SYSWIDE_CONFDIR}/ and run ${progname},
        mktexlsr and ${badly_used_prg}.
        Please remove '$badly_located_cfg_file' and try again.\n" >&2
             exit 1


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

Reply via email to