summaryrefslogtreecommitdiff
path: root/packaging/debian
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-03-01 22:11:58 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-03-01 22:11:58 -0500
commita102b1533984b638094727f36f64a56ed5586553 (patch)
treec17882dfaf1b42b95598429bd29547648a828948 /packaging/debian
parent01cc7607ee14feb1b8ebc91c9a9e5bed92f7a413 (diff)
moved set -e from the shebang line to an explicit setting in maintainer scripts to pacify lintian --pedantic.
Diffstat (limited to 'packaging/debian')
-rwxr-xr-xpackaging/debian/monkeysphere.postinst4
-rwxr-xr-xpackaging/debian/monkeysphere.postrm4
2 files changed, 6 insertions, 2 deletions
diff --git a/packaging/debian/monkeysphere.postinst b/packaging/debian/monkeysphere.postinst
index bbb02cf..6b12ee8 100755
--- a/packaging/debian/monkeysphere.postinst
+++ b/packaging/debian/monkeysphere.postinst
@@ -1,10 +1,12 @@
-#!/bin/sh -e
+#!/bin/sh
# postinst script for monkeysphere
# Author: Jameson Rollins <jrollins@finestructure.net>
# Copyright 2008-2009
+set -e
+
VARLIB="/var/lib/monkeysphere"
case $1 in
diff --git a/packaging/debian/monkeysphere.postrm b/packaging/debian/monkeysphere.postrm
index 878b913..d789012 100755
--- a/packaging/debian/monkeysphere.postrm
+++ b/packaging/debian/monkeysphere.postrm
@@ -1,10 +1,12 @@
-#!/bin/sh -e
+#!/bin/sh
# postrm script for monkeysphere
# Author: Jameson Rollins <jrollins@finestructure.net>
# Copyright 2008-2009
+set -e
+
case $1 in
purge)
# delete monkeysphere user