[Pkg-ocaml-maint-commits] [SCM] unison packaging branch, 2.27.57/master, updated. debian/2.27.57-4-15-g5c8760b

Stephane Glondu steph at glondu.net
Thu Feb 10 13:54:35 UTC 2011


The following commit has been merged in the 2.27.57/master branch:
commit 0ca582a36d41ab607841271cb7ab8a52fe1a0504
Author: Stephane Glondu <steph at glondu.net>
Date:   Thu Feb 10 11:14:30 2011 +0100

    Add "set -e" to maintainer scripts

diff --git a/debian/templates/postinst b/debian/templates/postinst
index d47a67c..5d643d5 100644
--- a/debian/templates/postinst
+++ b/debian/templates/postinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 # This file is common between unison and unison-gtk package
 if @IS_GTK@; then
diff --git a/debian/templates/preinst b/debian/templates/preinst
index 334352e..dcba9c2 100644
--- a/debian/templates/preinst
+++ b/debian/templates/preinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e 
+#!/bin/sh
+
+set -e
 
 case "$1" in
   upgrade)
diff --git a/debian/templates/prerm b/debian/templates/prerm
index 517f758..bd534c0 100644
--- a/debian/templates/prerm
+++ b/debian/templates/prerm
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 if [ "$1" = "remove" ]; then
 	update-alternatives --remove unison /usr/bin/@UNISON_SELF_ALTERNATIVE@

-- 
unison packaging



More information about the Pkg-ocaml-maint-commits mailing list