[pkg-java] r11213 - trunk/tomcat6/debian
    Niels Thykier 
    nthykier-guest at alioth.debian.org
       
    Mon Dec  7 20:11:52 UTC 2009
    
    
  
Author: nthykier-guest
Date: 2009-12-07 20:11:51 +0000 (Mon, 07 Dec 2009)
New Revision: 11213
Modified:
   trunk/tomcat6/debian/changelog
   trunk/tomcat6/debian/tomcat6.postinst
   trunk/tomcat6/debian/tomcat6.postrm
Log:
Fix pedantic set -e vs #! -e
Modified: trunk/tomcat6/debian/changelog
===================================================================
--- trunk/tomcat6/debian/changelog	2009-12-07 19:33:35 UTC (rev 11212)
+++ trunk/tomcat6/debian/changelog	2009-12-07 20:11:51 UTC (rev 11213)
@@ -19,6 +19,8 @@
     (Closes: LP: #475457)
   * Updated description so it no longer refers to non-existent package.
     (Closes: #559475)
+  * Used "set -e" in postinst and postrm instead of passing "-e" to sh
+    in the #!-line.
 
  -- Niels Thykier <niels at thykier.net>  Sat, 28 Nov 2009 17:51:49 +0100
 
Modified: trunk/tomcat6/debian/tomcat6.postinst
===================================================================
--- trunk/tomcat6/debian/tomcat6.postinst	2009-12-07 19:33:35 UTC (rev 11212)
+++ trunk/tomcat6/debian/tomcat6.postinst	2009-12-07 20:11:51 UTC (rev 11213)
@@ -1,4 +1,5 @@
-#!/bin/sh -e
+#!/bin/sh
+set -e
 
 case "$1" in
     configure)
Modified: trunk/tomcat6/debian/tomcat6.postrm
===================================================================
--- trunk/tomcat6/debian/tomcat6.postrm	2009-12-07 19:33:35 UTC (rev 11212)
+++ trunk/tomcat6/debian/tomcat6.postrm	2009-12-07 20:11:51 UTC (rev 11213)
@@ -1,4 +1,5 @@
-#!/bin/sh -e
+#!/bin/sh
+set -e
 
 #DEBHELPER#
 
    
    
More information about the pkg-java-commits
mailing list