[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X Strike Force XFree86 SVN commit: r1909 - branches/debconf-overhaul/debian



Author: branden
Date: 2004-10-04 01:47:34 -0500 (Mon, 04 Oct 2004)
New Revision: 1909

Modified:
   branches/debconf-overhaul/debian/CHANGESETS
   branches/debconf-overhaul/debian/xserver-xfree86.config.in
Log:
Use trace() to note the xserver-xfree86.config.in script's beginning and
(normal) exit, so that multiple runs in the same logfile are more easily
distinguished.


Modified: branches/debconf-overhaul/debian/CHANGESETS
===================================================================
--- branches/debconf-overhaul/debian/CHANGESETS	2004-10-04 06:23:56 UTC (rev 1908)
+++ branches/debconf-overhaul/debian/CHANGESETS	2004-10-04 06:47:34 UTC (rev 1909)
@@ -21,6 +21,9 @@
   /var/log/xserver-xfree86{,-dbg}.config.log.  Eliminate debug_echo()
   function in favor of trace(), and update all calls to the former to use
   the latter instead.
++ Use trace() to note the xserver-xfree86.config.in script's beginning and
+  (normal) exit, so that multiple runs in the same logfile are more easily
+  distinguished.
 + Update the xserver-xfree86{,-dbg} packages' bug scripts to include their
   corresponding config logs, if they are available.  Since the bug script now
   has to be aware of its own package's name, generate the xserver-xfree86-dbg

Modified: branches/debconf-overhaul/debian/xserver-xfree86.config.in
===================================================================
--- branches/debconf-overhaul/debian/xserver-xfree86.config.in	2004-10-04 06:23:56 UTC (rev 1908)
+++ branches/debconf-overhaul/debian/xserver-xfree86.config.in	2004-10-04 06:47:34 UTC (rev 1909)
@@ -1993,12 +1993,14 @@
 
 # This is main().
 
+trace "beginning configuration; arguments: $@"
+
 # Analyze script arguments.
 if [ "$1" = "reconfigure" ] || [ -n "$2" ]; then
-  # if we are reconfiguring, or already have installed the package at least
+  # If we are reconfiguring, or already have installed the package at least
   # once before, we should not let auto_answer stomp on existing answers to
-  # debconf questions
-  trace "$THIS_PACKAGE is being reconfigured"
+  # debconf questions.
+  trace "reconfiguring package"
   RECONFIGURE=true
 else
   RECONFIGURE=
@@ -2160,6 +2162,8 @@
   fi
 fi
 
+trace "ending configuration"
+
 exit 0
 
 # vim:set ai et sts=2 sw=2 tw=80:



Reply to: