[heroes] 06/18: Add "set -e" to the maintainer scripts.

Stephen Kitt skitt at moszumanska.debian.org
Sat Jan 23 19:34:41 UTC 2016


This is an automated email from the git hooks/post-receive script.

skitt pushed a commit to annotated tag debian/0.21-11
in repository heroes.

commit 1e389ee952b19275ec4170627c19a7122129b1ae
Author: Stephen Kitt <steve at sk2.org>
Date:   Thu Jan 21 17:47:54 2016 +0100

    Add "set -e" to the maintainer scripts.
---
 debian/changelog | 1 +
 debian/postinst  | 2 ++
 debian/postrm    | 2 ++
 3 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d4456b6..b37daf9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ heroes (0.21-11) UNRELEASED; urgency=medium
   * Build a single heroes package since we only care about the SDL
     version.
   * Add homepage.
+  * Add "set -e" to the maintainer scripts.
 
  -- Stephen Kitt <skitt at debian.org>  Wed, 20 Jan 2016 14:16:25 +0100
 
diff --git a/debian/postinst b/debian/postinst
index ff8c5c6..16943f5 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 if [ "$1" = "configure" ]
 then
   if [ -d /var/games/heroes ]
diff --git a/debian/postrm b/debian/postrm
index dfef570..9d8025e 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 if [ "$1" = "purge" ]
 then
   rm -fr /var/games/heroes

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/heroes.git



More information about the Pkg-games-commits mailing list