File: rules

package info (click to toggle)
webissues-server 0.8.3-2-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 392 kB
  • ctags: 610
  • sloc: php: 2,206; sql: 458; sh: 44; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 715 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

DEB_FIXPERMS_EXCLUDE := usr/share/webissues-server

# chown everything to nobody:nogroup to make suphp happy
common-binary-post-install-indep::
	find debian/webissues-server/usr/share/webissues-server/ -type d -exec chmod 0755 {} \;
	find debian/webissues-server/usr/share/webissues-server/ -type f -exec chmod 0644 {} \;
	find debian/webissues-server/usr/share/webissues-server/ -type f -exec chown nobody:nogroup {} \;
	cp config/config-template.inc.php debian/webissues-server/etc/webissues-server/config.inc.php
	chown nobody:nogroup debian/webissues-server/etc/webissues-server/config.inc.php