summaryrefslogtreecommitdiff
path: root/community/prosody/prosody.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/prosody/prosody.install')
-rw-r--r--community/prosody/prosody.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/community/prosody/prosody.install b/community/prosody/prosody.install
index a77801d7b..dbd78bb62 100644
--- a/community/prosody/prosody.install
+++ b/community/prosody/prosody.install
@@ -7,7 +7,7 @@ post_install() {
fi
chown prosody:prosody var/lib/prosody
- chown prosody:prosody var/log/prosody
+ [ -d var/log/prosody ] && chown prosody:prosody var/log/prosody
echo ">> Documentation: http://wiki.archlinux.org/index.php/Prosody"