[DRE-commits] [SCM] thin.git branch, master, updated. debian/1.3.1-1-7-g5452625

Ryan Niebur ryanryan52 at gmail.com
Sat Jun 16 10:56:49 UTC 2012


The following commit has been merged in the master branch:
commit c6740ca61a9a73de999fa3ede2b3f0bb8cf679f9
Author: Ryan Niebur <ryanryan52 at gmail.com>
Date:   Sat Jun 16 03:54:50 2012 -0700

    Add set -e to maintainer scripts

diff --git a/debian/changelog b/debian/changelog
index da27525..15a41e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,8 +4,9 @@ thin (1.3.1-2) UNRELEASED; urgency=low
     hardnening options (Closes: #676211)
   * Fix debian/gen_init.rb to use FileUtils for supporting Ruby 1.9
   * Fix with machine readable copyright format 1.0
+  * Add set -e to maintainer scripts
 
- -- Ryan Niebur <ryan at debian.org>  Sat, 16 Jun 2012 03:53:09 -0700
+ -- Ryan Niebur <ryan at debian.org>  Sat, 16 Jun 2012 03:54:48 -0700
 
 thin (1.3.1-1.1) unstable; urgency=high
 
diff --git a/debian/thin.postinst b/debian/thin.postinst
index b29c8cf..c18b070 100644
--- a/debian/thin.postinst
+++ b/debian/thin.postinst
@@ -2,6 +2,8 @@
 # -*- mode: Shell-Script -*-
 # complete dpkg-maintscript-helper operations
 
+set -e
+
 if [ "$1" = "configure" ]; then
 
     if [ -h /etc/init.d/thin.dpkg-backup ]; then
diff --git a/debian/thin.postrm b/debian/thin.postrm
index fdab465..beada2b 100644
--- a/debian/thin.postrm
+++ b/debian/thin.postrm
@@ -2,6 +2,8 @@
 # -*- mode: Shell-Script -*-
 # complete dpkg-maintscript-helper operations
 
+set -e
+
 if [ "$1" = "abort-install" -o "$1" = "abort-upgrade" ]; then
     if [ -h /etc/init.d/thin.dpkg-remove ]; then
 	mv /etc/init.d/thin.dpkg-remove /etc/init.d/thin
diff --git a/debian/thin.preinst b/debian/thin.preinst
index 2100085..dee2c76 100644
--- a/debian/thin.preinst
+++ b/debian/thin.preinst
@@ -2,6 +2,8 @@
 # -*- mode: Shell-Script -*-
 # Just check if the old thin init.d conffile symlink needs to be removed
 
+set -e
+
 if [ "$1" = "install" -o "$1" = "upgrade" ]; then
     if [ -h /etc/init.d/thin ]; then # do we need to handle  || [ -e /etc/init.d/thin ] ? guess not.
 	if [ "$(readlink /etc/init.d/thin)" = "thin1.8" ]; then

-- 
thin.git



More information about the Pkg-ruby-extras-commits mailing list