[med-svn] [biomaj3] 02/05: add exec shebang

Olivier Sallou osallou at debian.org
Wed Aug 30 07:35:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

osallou pushed a commit to branch master
in repository biomaj3.

commit af350b1651290b5d4d1718fa8b07444ea00168e2
Author: Olivier Sallou <osallou at debian.org>
Date:   Wed Aug 30 07:29:05 2017 +0000

    add exec shebang
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index 4f134e1..867fc3b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,9 @@ export DEB_BUILD_OPTIONS=nocheck
 export PYBUILD_NAME=biomaj
 %:
 	dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_install:
+	dh_install
+	sed -i '1s;^;#!/usr/bin/python3\n;' debian/python3-biomaj3/usr/bin/biomaj_migrate_database.py
+	sed -i '1s;^;#!/usr/bin/bash\n;' debian/python3-biomaj3/usr/share/doc/python3-biomaj3/examples/tools/process/concat.sh
+	chmod -x debian/python3-biomaj/usr/share/doc/python3-biomaj3/examples/global.properties.example

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/biomaj3.git



More information about the debian-med-commit mailing list