From df63f7875f57631723203517e0857af09763ba59 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 29 Jan 2019 09:57:18 -0700 Subject: [PATCH] Update fusionpbx.sh --- debian/resources/fusionpbx.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/resources/fusionpbx.sh b/debian/resources/fusionpbx.sh index 189bf32..567c4bf 100755 --- a/debian/resources/fusionpbx.sh +++ b/debian/resources/fusionpbx.sh @@ -26,6 +26,10 @@ else branch="-b $system_version" fi +#add the cache directory +mkdir -p /var/cache/fusionpbx +chown -R www-data:www-data /var/cache/fusionpbx + #get the source code git clone $branch https://github.com/fusionpbx/fusionpbx.git /var/www/fusionpbx chown -R www-data:www-data /var/www/fusionpbx