diff options
author | dinoex <dinoex@FreeBSD.org> | 2011-11-06 14:54:38 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2011-11-06 14:54:38 +0800 |
commit | 69b54add1db4a07339ecfac8ccb520b91088eebc (patch) | |
tree | d3cfe526a2927b772e11d3002aef98c901c6dce4 /net | |
parent | 37604d37f447d3dbc2aac9436d03f12879b395de (diff) | |
download | freebsd-ports-gnome-69b54add1db4a07339ecfac8ccb520b91088eebc.tar.gz freebsd-ports-gnome-69b54add1db4a07339ecfac8ccb520b91088eebc.tar.zst freebsd-ports-gnome-69b54add1db4a07339ecfac8ccb520b91088eebc.zip |
- make generated config writeable
Diffstat (limited to 'net')
-rw-r--r-- | net/sixxs-aiccu/Makefile | 2 | ||||
-rw-r--r-- | net/sixxs-aiccu/pkg-plist | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/sixxs-aiccu/Makefile b/net/sixxs-aiccu/Makefile index 4125311d7326..2d2998540a1c 100644 --- a/net/sixxs-aiccu/Makefile +++ b/net/sixxs-aiccu/Makefile @@ -58,7 +58,7 @@ do-install: .endif ${INSTALL_DATA} ${WRKSRC}/doc/aiccu.conf ${PREFIX}/etc/aiccu.conf.sample .if !exists(${PREFIX}/etc/aiccu.conf) - ${INSTALL_DATA} ${WRKSRC}/doc/aiccu.conf ${PREFIX}/etc/aiccu.conf + ${INSTALL_DATA} -m 0644 ${WRKSRC}/doc/aiccu.conf ${PREFIX}/etc/aiccu.conf .endif .include <bsd.port.post.mk> diff --git a/net/sixxs-aiccu/pkg-plist b/net/sixxs-aiccu/pkg-plist index 1bf27351aad3..b13005b06d12 100644 --- a/net/sixxs-aiccu/pkg-plist +++ b/net/sixxs-aiccu/pkg-plist @@ -1,4 +1,4 @@ @unexec if cmp -s %D/etc/aiccu.conf %D/etc/aiccu.conf.sample; then rm -f %D/etc/aiccu.conf; fi etc/aiccu.conf.sample -@exec [ -f %B/aiccu.conf ] || cp %B/%f %B/aiccu.conf +@exec [ -f %B/aiccu.conf ] || install -m 0644 %B/%f %B/aiccu.conf sbin/sixxs-aiccu |