[Initscripts-ng-commits] r416 - in /trunk/src/insserv/debian: changelog update-bootsystem-insserv

pere at users.alioth.debian.org pere at users.alioth.debian.org
Wed Jan 2 14:53:25 UTC 2008


Author: pere
Date: Wed Jan  2 14:53:25 2008
New Revision: 416

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=416
Log:
  * Call 'reset' after looping over packages postinst scripts, in case
    the terminal is messed up as it is when I test it.

Modified:
    trunk/src/insserv/debian/changelog
    trunk/src/insserv/debian/update-bootsystem-insserv

Modified: trunk/src/insserv/debian/changelog
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/changelog?rev=416&op=diff
==============================================================================
--- trunk/src/insserv/debian/changelog (original)
+++ trunk/src/insserv/debian/changelog Wed Jan  2 14:53:25 2008
@@ -16,6 +16,8 @@
   * Extended check-initd-order to graph services with multiple
     provides as two nodes with the same dependencies, and that depend
     on each other..
+  * Call 'reset' after looping over packages postinst scripts, in case
+    the terminal is messed up as it is when I test it.
 
  -- Petter Reinholdtsen <pere at debian.org>  Tue,  1 Jan 2008 21:57:58 +0100
 

Modified: trunk/src/insserv/debian/update-bootsystem-insserv
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/update-bootsystem-insserv?rev=416&op=diff
==============================================================================
--- trunk/src/insserv/debian/update-bootsystem-insserv (original)
+++ trunk/src/insserv/debian/update-bootsystem-insserv Wed Jan  2 14:53:25 2008
@@ -57,6 +57,9 @@
 	    echo "error: package $p got init.d script but no postinst"
 	fi
     done
+
+    # Using postinst directly might mess up the terminal.  Try to recover
+    reset
 }
 
 # Based on code from dash postinst




More information about the Initscripts-ng-commits mailing list