1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/dns/poweradmin/pkg-plist-chunk
Martin Wilke 2797cd7625 - Use 644 mode for the config file
Port installs configuration file in 640 mode
and poweradmin will fail to find it when apache server
with www account is used.

PR:		139475
Submitted by:	Edmondas Girkantas <eg@fbsd.lt> (maintainer)
2009-10-13 22:32:33 +00:00

6 lines
270 B
Plaintext

@mode 644
@unexec if cmp -s %D/%%WWWDIR%%/inc/config-me.inc.php %D/%%WWWDIR%%/inc/config.inc.php; then rm -f %D/%%WWWDIR%%/inc/config.inc.php; fi
%%WWWDIR%%/inc/config-me.inc.php
@exec if [ ! -f %B/inc/config.inc.php ] ; then cp -p %B/%f %B/inc/config.inc.php; fi
@mode