[med-svn] [mapping-pipeline] 09/10: Fix permissions

Andreas Tille tille at debian.org
Tue Feb 21 12:56:44 UTC 2017


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

tille pushed a commit to branch master
in repository mapping-pipeline.

commit 3c9e11db91fc73fe2362594b0c5050622023f05d
Author: Andreas Tille <tille at debian.org>
Date:   Tue Feb 21 13:52:04 2017 +0100

    Fix permissions
---
 debian/install        | 8 ++++----
 debian/patches/series | 1 +
 debian/rules          | 5 ++++-
 3 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/debian/install b/debian/install
index 772b183..4b84fa5 100644
--- a/debian/install
+++ b/debian/install
@@ -1,4 +1,4 @@
-*.py	usr/share/mapping-pipeline
-*.cwl	usr/share/mapping-pipeline
-*.tex	usr/share/mapping-pipeline
-
+*.py		usr/share/mapping-pipeline
+*.cwl		usr/share/mapping-pipeline
+*.tex		usr/share/mapping-pipeline
+run.config	etc/mapping-pipeline
diff --git a/debian/patches/series b/debian/patches/series
index a2fba86..b2578d7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 python3.patch
+config.patch
diff --git a/debian/rules b/debian/rules
index a137504..efacc63 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,9 +3,12 @@
 # DH_VERBOSE := 1
 
 %:
-	dh $@ --with python3 # --buildsystem=pybuild
+	dh $@ --with python3
 
 override_dh_fixperms:
 	dh_fixperms
 	find debian -name "*.tex" -exec chmod -x \{\} \;
 	find debian -name "*.json" -exec chmod -x \{\} \;
+	for py in `find debian -name "*.py"` ; do \
+	    if ! head -n 1 $$py | grep -q '^#!/usr/bin/python' ; then chmod -x $$py ; fi ; \
+	done

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



More information about the debian-med-commit mailing list