[Pkg-ocaml-maint-commits] [SCM] unison packaging branch, master, updated. debian/2.32.52-1-7-gd23e600
Stephane Glondu
steph at glondu.net
Thu Feb 10 11:30:10 UTC 2011
The following commit has been merged in the master branch:
commit 5c458d1df3eede65166df44c5c0ad60dfc528248
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