[SCM] BOINC packaging branch, master, updated. debian/6.10.17+dfsg-3-163-g3a2aace

Steffen Moeller moeller at debian.org
Sun Jan 16 23:43:19 UTC 2011


The following commit has been merged in the master branch:
commit 10570da1ad52f5df65687ffb72a177cf7747c452
Author: Steffen Moeller <moeller at debian.org>
Date:   Sat Jan 8 21:14:26 2011 +0100

    Selected ops/*.php to become executable

diff --git a/debian/rules b/debian/rules
index d2151c0..4fdf756 100755
--- a/debian/rules
+++ b/debian/rules
@@ -263,8 +263,16 @@ override_dh_installchangelogs:
 
 override_dh_fixperms:
 	dh_fixperms
-	# some files are not right with 755, some are, this needs furhter investigations
+	# some files are not right with 755
 	find debian -name "*.php" -o -name "*.php.example" -o -name "*.cpp" | grep -v "update_translations.php" | xargs -L 1 -r chmod 644 --
+	# some other files are indeed to be executed via the command line
+	cd debian/boinc-server-maker/usr/share/boinc-server/html/ops ; \
+	for i in *.php; do \
+		if head -n 1 "$$i" | grep -q "^#!"; then \
+			chmod 775 "$$i" ; \
+		fi ; \
+	done
+
 	# Correct catalog file perms
 	find debian -name "*.mo" -exec chmod 644   {} \;
 	chmod 755 \

-- 
BOINC packaging



More information about the pkg-boinc-commits mailing list