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