summaryrefslogtreecommitdiff
path: root/packaging/freebsd
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-10-28 18:01:21 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-10-28 18:01:21 -0400
commitd080f8c802e0ca929577abe70118fa765d473dc6 (patch)
tree8df52d30342b40b710e32d7b40142b4821847e3f /packaging/freebsd
parent2c6da8e68e326d52e0a472bddfca50649a45602f (diff)
make sure that the /etc/monkeysphere/gpg-*.conf are placed during package installation.
Diffstat (limited to 'packaging/freebsd')
-rw-r--r--packaging/freebsd/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/freebsd/Makefile b/packaging/freebsd/Makefile
index 78ad0d3..f4bf0fe 100644
--- a/packaging/freebsd/Makefile
+++ b/packaging/freebsd/Makefile
@@ -34,6 +34,12 @@ post-patch:
find . -iname '*.orig' -delete
post-install:
+ @if [ ! -f ${PREFIX}/etc/monkeysphere/gnupg-host.conf ]; then \
+ ${CP} -p ${PREFIX}/etc/monkeysphere/gnupg-host.conf.sample ${PREFIX}/etc/monkeysphere/gnupg-host.conf ; \
+ fi
+ @if [ ! -f ${PREFIX}/etc/monkeysphere/gnupg-authentication.conf ]; then \
+ ${CP} -p ${PREFIX}/etc/monkeysphere/gnupg-authentication.conf.sample ${PREFIX}/etc/monkeysphere/gnupg-authentication.conf ; \
+ fi
@if [ ! -f ${PREFIX}/etc/monkeysphere/monkeysphere.conf ]; then \
${CP} -p ${PREFIX}/etc/monkeysphere/monkeysphere.conf.sample ${PREFIX}/etc/monkeysphere/monkeysphere.conf ; \
fi