From: Sebastian Harl Date: Thu, 27 Jan 2011 11:18:27 +0000 (+0100) Subject: rules: Fix permissions of all PHP files. X-Git-Tag: libkohana2-php-2.3.4-1~16 X-Git-Url: https://git.tokkee.org/?p=pkg-libkohana2-php.git;a=commitdiff_plain;h=2bc4a7b429d4b6953a0b651dbd5a4aab7e6a6fc6 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. --- 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