From 821cf45f8d976059fdfe28e6f632250944ebd170 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 29 Jan 2019 09:59:17 -0700 Subject: [PATCH] Update fusionpbx.sh --- freebsd/resources/fusionpbx.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/freebsd/resources/fusionpbx.sh b/freebsd/resources/fusionpbx.sh index dbaf348..9a1a2d8 100755 --- a/freebsd/resources/fusionpbx.sh +++ b/freebsd/resources/fusionpbx.sh @@ -23,6 +23,10 @@ else branch="-b $system_version" fi +#add the cache directory +mkdir -p /var/cache/fusionpbx +chown -R www:www /var/cache/fusionpbx + #get the source code git clone $branch https://github.com/fusionpbx/fusionpbx.git /usr/local/www/fusionpbx chown -R www:www /usr/local/www/fusionpbx