summaryrefslogtreecommitdiff
path: root/packaging/freebsd
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-10-30 15:54:31 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-10-30 15:54:31 -0400
commit7b8af9a915f776e436d8d7bb97d64d9979793220 (patch)
treea4a24c794bfee666dbcfd3068edf3944ac07f3e6 /packaging/freebsd
parent992e7de99fdacfe913338bc995efba36854ee6a2 (diff)
build out directories for the monkeysphere that should be created on package installation.
Diffstat (limited to 'packaging/freebsd')
-rwxr-xr-xpackaging/freebsd/pkg-install2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/freebsd/pkg-install b/packaging/freebsd/pkg-install
index d7e4dbe..731667c 100755
--- a/packaging/freebsd/pkg-install
+++ b/packaging/freebsd/pkg-install
@@ -65,6 +65,8 @@ POST-INSTALL)
install -d -o monkeysphere -g monkeysphere -m 700 "$VARLIB"/gnupg-authentication
ln -sf "$ETCDIR"/gnupg-authentication.conf "$VARLIB"/gnupg-authentication/gpg.conf
+ install -d "$VARLIB"/tmp "$VARLIB"/authorized_keys
+
chown monkeysphere:monkeysphere "$VARLIB"/gnupg-authentication/gpg.conf
monkeysphere-server diagnostics