[davmail] 06/20: debian/postinst: fix a lintian pedantic check about "set -e"
Alexandre Rossi
alexandre.rossi at gmail.com
Tue Nov 1 08:54:24 UTC 2016
This is an automated email from the git hooks/post-receive script.
niol-guest pushed a commit to branch master
in repository davmail.
commit 97e53613e591a5cbe09ca31d7c916f296c5434b2
Author: Antonio Ospite <ao2 at ao2.it>
Date: Fri Oct 21 13:26:51 2016 +0200
debian/postinst: fix a lintian pedantic check about "set -e"
Fix this lintian check:
davmail: maintainer-script-without-set-e postinst
---
debian/postinst | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/postinst b/debian/postinst
index 3e725ec..78d444b 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,4 +1,7 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
+
USER=davmail
if ! getent passwd $USER >/dev/null; then
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/davmail.git
More information about the pkg-java-commits
mailing list