[subversion-commit] SVN tex-common commit + diffs: r1360 - tex-common/trunk/debian

Frank Küster frank at costa.debian.org
Tue May 16 16:51:35 UTC 2006


Author: frank
Date: 2006-05-16 16:51:33 +0000 (Tue, 16 May 2006)
New Revision: 1360

Modified:
   tex-common/trunk/debian/postinst.functions
   tex-common/trunk/debian/postinst.in
Log:
send messages to stderr, too

Modified: tex-common/trunk/debian/postinst.functions
===================================================================
--- tex-common/trunk/debian/postinst.functions	2006-05-16 14:25:49 UTC (rev 1359)
+++ tex-common/trunk/debian/postinst.functions	2006-05-16 16:51:33 UTC (rev 1360)
@@ -38,6 +38,7 @@
     db_fset tex-common/check_texmf_missing seen false || true
     db_input critical tex-common/check_texmf_missing || true
     db_go || true
+    echo "Error in $file: $variable not defined." >&2
     checkfailed=true
   else
     if ! echo "$line" | egrep -q "$pattern"; then
@@ -48,6 +49,7 @@
       db_fset tex-common/check_texmf_wrong seen false || true
       db_input critical  tex-common/check_texmf_wrong || true
       db_go || true
+      echo "Error in $file: $variable incorrectly defined." >&2
       checkfailed=true
     fi
     if [ "$variable" = TEXFONTMAPS ]; then
@@ -60,6 +62,7 @@
 	db_subst tex-common/check_texmf_wrong pattern "/dvips//"
 	db_fset tex-common/check_texmf_wrong seen false || true
 	db_input critical tex-common/check_texmf_wrong || true
+	echo "Error in $file: $variable incorrectly defined." >&2
 	db_go || true
 	checkfailed=true
       fi

Modified: tex-common/trunk/debian/postinst.in
===================================================================
--- tex-common/trunk/debian/postinst.in	2006-05-16 14:25:49 UTC (rev 1359)
+++ tex-common/trunk/debian/postinst.in	2006-05-16 16:51:33 UTC (rev 1360)
@@ -111,6 +111,13 @@
     check_texmf /etc/texmf/texmf.cnf 'TEXMF( |=)' TEXMFDIST
 
     if [ $checkfailed = true ]; then
+      echo "Unrecoverable errors in your configuration have been detected" >&2
+      echo "in configuration files in /etc/texmf/." >&2
+      echo "If you've not seen debconf error messages,  see your mail for details" >&2
+      echo "or use an interactive debconf frontend." >&2
+      echo >&2
+      echo "Exiting" >&2
+
       exit 1
     fi
 




More information about the Pkg-tetex-commits mailing list