[med-svn] [prottest] 05/06: Fix permissions

Andreas Tille tille at debian.org
Mon Oct 19 13:23:42 UTC 2015


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

tille pushed a commit to branch master
in repository prottest.

commit 4160efa652b23fd0519753150f29a38a58256b04
Author: Andreas Tille <tille at debian.org>
Date:   Mon Oct 19 15:14:45 2015 +0200

    Fix permissions
---
 debian/rules | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 97e018e..a012513 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,6 @@
 #!/usr/bin/make -f
-# debian/rules for prottest
-# Andreas Tille <tille at debian.org>
-# GPL
+
+DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
@@ -11,5 +10,9 @@ JAVA_HOME=/usr/lib/jvm/default-java
 %:
 	dh $@ --with javahelper
 
+override_dh_fixperms:
+	dh_fixperms
+	chmod -x debian/$(DEBPKGNAME)/etc/$(DEBPKGNAME)/*
+
 get-orig-source:
 	uscan --verbose --force-download --repack --compression xz

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



More information about the debian-med-commit mailing list