summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Bourg <ebourg@apache.org>2014-04-02 21:33:20 +0000
committerEmmanuel Bourg <ebourg@apache.org>2014-04-02 21:33:20 +0000
commite135c86a1b59b6bf289bed33db235b024889fa79 (patch)
treebdddcfba0a2df0f08df16b1bb08df898a578976c
parent6788da521ffd40da67bbdbad75090519fab5c186 (diff)
downloadjava-common-e135c86a1b59b6bf289bed33db235b024889fa79.tar.gz
Use 'set -e' instead of '#!/bin/sh -e' in debian/java-common.postrm
-rw-r--r--debian/changelog1
-rw-r--r--debian/java-common.postrm4
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 74cfcf3..6b0cc93 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ java-common (0.52) UNRELEASED; urgency=medium
* Team upload.
* Prepared the default values for Java 8
+ * Use 'set -e' instead of '#!/bin/sh -e' in debian/java-common.postrm
* Switch to debhelper level 9
* debian/control:
- Standards-Version updated to 3.9.5 (no changes)
diff --git a/debian/java-common.postrm b/debian/java-common.postrm
index 4e16477..5f7f974 100644
--- a/debian/java-common.postrm
+++ b/debian/java-common.postrm
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
case "$1" in
purge)