|
@@ -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
|