浏览代码

Update fusionpbx.sh

FusionPBX 6 年之前
父节点
当前提交
df63f7875f
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      debian/resources/fusionpbx.sh

+ 4 - 0
debian/resources/fusionpbx.sh

@@ -26,6 +26,10 @@ else
 	branch="-b $system_version"
 	branch="-b $system_version"
 fi
 fi
 
 
+#add the cache directory
+mkdir -p /var/cache/fusionpbx
+chown -R www-data:www-data /var/cache/fusionpbx
+
 #get the source code
 #get the source code
 git clone $branch https://github.com/fusionpbx/fusionpbx.git /var/www/fusionpbx
 git clone $branch https://github.com/fusionpbx/fusionpbx.git /var/www/fusionpbx
 chown -R www-data:www-data /var/www/fusionpbx
 chown -R www-data:www-data /var/www/fusionpbx