[ecj] 66/145: Call 'set -e' in the body of the ecj maintainer scripts
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Mar 27 23:11:29 BST 2018
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository ecj.
commit b7b212201d80fb8ae948ecf0f843f52a6ced1a43
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Thu Jun 26 02:09:52 2014 +0200
Call 'set -e' in the body of the ecj maintainer scripts
---
debian/changelog | 1 +
debian/ecj.postinst | 4 +++-
debian/ecj.prerm | 4 +++-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c2d8a0a..34c8682 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ ecj (3.9.0-3) UNRELEASED; urgency=medium
* debian/control:
- Added the Homepage and the Vcs-* fields
* Switch to debhelper level 9
+ * Call 'set -e' in the body of the ecj maintainer scripts
-- Emmanuel Bourg <ebourg at apache.org> Thu, 26 Jun 2014 01:40:40 +0200
diff --git a/debian/ecj.postinst b/debian/ecj.postinst
index b2f1b68..39536af 100644
--- a/debian/ecj.postinst
+++ b/debian/ecj.postinst
@@ -1,4 +1,6 @@
-#! /bin/sh -e
+#! /bin/sh
+
+set -e
update-alternatives --quiet --install /usr/bin/javac javac /usr/bin/ecj 143 \
--slave /usr/share/man/man1/javac.1.gz javac.1.gz /usr/share/man/man1/ecj.1.gz
diff --git a/debian/ecj.prerm b/debian/ecj.prerm
index b7920e1..036c075 100644
--- a/debian/ecj.prerm
+++ b/debian/ecj.prerm
@@ -1,4 +1,6 @@
-#! /bin/sh -e
+#! /bin/sh
+
+set -e
update-alternatives --quiet --remove javac /usr/bin/ecj
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/ecj.git
More information about the pkg-java-commits
mailing list