[med-svn] [cwltool] 04/06: cwltool is an alternative for cwl-runner
Sascha Steinbiss
satta at debian.org
Sat Jan 14 12:58:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
satta pushed a commit to branch master
in repository cwltool.
commit 1b8d106684963d72d7ba3bbe99257e986d54970b
Author: Michael R. Crusoe <crusoe at ucdavis.edu>
Date: Sat May 7 11:24:30 2016 -0700
cwltool is an alternative for cwl-runner
---
debian/changelog | 1 +
debian/postinst | 7 +++++++
debian/prerm | 14 ++++++++++++++
3 files changed, 22 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index ae7b5c8..51ddd30 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ cwltool (1.0.20170114120503-1) unstable; urgency=medium
* Team upload.
* New upstream release.
+ * Add cwltool as an alternative implementation for cwl-runner.
-- Sascha Steinbiss <satta at debian.org> Sat, 14 Jan 2017 12:49:30 +0000
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..03effe5
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -e
+
+update-alternatives --quiet --install /usr/bin/cwl-runner cwl-runner \
+ /usr/bin/cwltool 1
+
+#DEBHELPER#
diff --git a/debian/prerm b/debian/prerm
new file mode 100644
index 0000000..b6e01ff
--- /dev/null
+++ b/debian/prerm
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -e
+
+case "$1" in
+ remove)
+ update-alternatives --remove cwl-runner /usr/bin/cwltool
+ ;;
+
+ upgrade|failed-upgrade|deconfigure)
+ ;;
+
+esac
+
+#DEBHELPER#
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/cwltool.git
More information about the debian-med-commit
mailing list