From 2bc4a7b429d4b6953a0b651dbd5a4aab7e6a6fc6 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Thu, 27 Jan 2011 12:18:27 +0100 Subject: [PATCH] rules: Fix permissions of all PHP files. Some of them are installed with the x-bit set and dh_fixperms does not seem to take care of that. --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index 4ed0537..2620bed 100755 --- a/debian/rules +++ b/debian/rules @@ -44,6 +44,10 @@ install: build rm -rf $(CURDIR)/debian/libkohana2-php/usr/share/php/kohana2/system/fonts ln -s /usr/share/fonts/truetype/ttf-dejavu $(CURDIR)/debian/libkohana2-php/usr/share/php/kohana2/system/fonts + # fix permissions + for file in `find $(CURDIR)/debian/libkohana2-php -name '*.php'`; do \ + chmod 644 $$file; \ + done # Build architecture-independent files here. binary-indep: install -- 2.30.2