[med-svn] [openemr] 01/03: Fixing file perms, starting with things that should NOT be executable.

Ian Wallace iankarlwallace-guest at moszumanska.debian.org
Tue Jun 17 03:47:13 UTC 2014


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

iankarlwallace-guest pushed a commit to branch master
in repository openemr.

commit eb5644e055bd48e2fb39c90edef9efc423af8174
Author: Ian Wallace <iankarlwallace at gmail.com>
Date:   Sat Jun 14 22:47:33 2014 -0700

    Fixing file perms, starting with things that should NOT be executable.
---
 debian/copyright | 1 +
 debian/rules     | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/debian/copyright b/debian/copyright
index 3043a20..6886af8 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,6 +3,7 @@ Upstream-Name: OpenEMR
 Source: http://sourceforge.net/projects/openemr/files/OpenEMR%20Current/
 
 Files: *
+Files-Excluded: phpmyadmin/*
 Copyright: © 2003-2011 Andres Paglayan <andres at paglayan.com>,
                        Boyd Stephen Smith Jr. <bss at iguanasuicide.net>
                        and others
diff --git a/debian/rules b/debian/rules
index b24c5d3..4dfa51e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,3 +27,10 @@ override_dh_link:
 	rm    debian/openemr/usr/share/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled/README
 	rmdir debian/openemr/usr/share/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled
 	dh_link
+
+override_dh_fixperms:
+	find debian/openemr/usr/share/openemr/ccr -type f -perm /a+x | xargs -I{} chmod a-x "{}"
+	find debian/openemr/usr/share/openemr/images -type f -perm /a+x | xargs -I{} chmod a-x "{}"
+	find debian/openemr/usr/share/openemr/interface -type f -perm /a+x | xargs -I{} chmod a-x "{}"
+	find debian/openemr/usr/share/openemr/library -type f -perm /a+x | xargs -I{} chmod a-x "{}"
+	dh_fixperms

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



More information about the debian-med-commit mailing list