[scram] 04/05: Use 'dh-exec' to rename scram.sh -> scram
Olzhas Rakhimov
rakhimov-guest at moszumanska.debian.org
Sat Aug 5 22:16:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
rakhimov-guest pushed a commit to branch master
in repository scram.
commit 52728f5e0db6f34e0d01451ac0d20f6575102083
Author: rakhimov <ol.rakhimov at gmail.com>
Date: Sat Aug 5 14:52:02 2017 -0700
Use 'dh-exec' to rename scram.sh -> scram
---
debian/changelog | 1 +
debian/control | 1 +
debian/scram.install | 3 ++-
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 9ecf08c..9073a0f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ scram (0.14.0-1) unstable; urgency=medium
* Bump the copyright year to 2017
* New 'scram-gui' binary
* Configure the packaging for multi-binary (separate & explicit install)
+ * Use 'dh-exec' to rename 'scram.sh' to 'scram' upon installation
-- Olzhas Rakhimov <ol.rakhimov at gmail.com> Mon, 31 Jul 2017 19:38:57 -0700
diff --git a/debian/control b/debian/control
index 51f8732..ecfbf40 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Priority: optional
Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
Uploaders: Olzhas Rakhimov <ol.rakhimov at gmail.com>
Build-Depends: debhelper (>= 10),
+ dh-exec,
cmake (>= 2.8.12),
libxml++2.6-dev (>= 2.38.1),
libboost-all-dev (>= 1.58.0),
diff --git a/debian/scram.install b/debian/scram.install
old mode 100644
new mode 100755
index 14af27f..7b9a057
--- a/debian/scram.install
+++ b/debian/scram.install
@@ -1,4 +1,5 @@
-scripts/scram.sh /usr/share/bash-completion/completions/scram
+#!/usr/bin/dh-exec
+scripts/scram.sh => /usr/share/bash-completion/completions/scram
usr/bin/scram
usr/lib/scram/libscramcore*
usr/share/scram/input/*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/scram.git
More information about the debian-science-commits
mailing list