This commit is contained in:
Bob Mottram 2014-10-12 19:39:56 +01:00
parent 3b96147feb
commit 2ee907fdb6
1 changed files with 4 additions and 1 deletions

View File

@ -3948,7 +3948,7 @@ function install_gnu_social {
get_mariadb_password get_mariadb_password
repair_databases_script repair_databases_script
apt-get -y --force-yes install php-gettext php5-curl php5-gd php5-mysql git apt-get -y --force-yes install php-gettext php5-curl php5-gd php5-mysql git curl php-xml-parser
if [ ! -d /var/www/$MICROBLOG_DOMAIN_NAME ]; then if [ ! -d /var/www/$MICROBLOG_DOMAIN_NAME ]; then
mkdir /var/www/$MICROBLOG_DOMAIN_NAME mkdir /var/www/$MICROBLOG_DOMAIN_NAME
@ -4351,6 +4351,9 @@ quit" > $INSTALL_DIR/batch.sql
if [ ! -d /var/www/$REDMATRIX_DOMAIN_NAME/htdocs/view/tpl/smarty3 ]; then if [ ! -d /var/www/$REDMATRIX_DOMAIN_NAME/htdocs/view/tpl/smarty3 ]; then
mkdir /var/www/$REDMATRIX_DOMAIN_NAME/htdocs/view/tpl/smarty3 mkdir /var/www/$REDMATRIX_DOMAIN_NAME/htdocs/view/tpl/smarty3
fi fi
if [ ! -d "/var/www/$REDMATRIX_DOMAIN_NAME/htdocs/store" ]; then
mkdir "/var/www/$REDMATRIX_DOMAIN_NAME/htdocs/store"
fi
if [ ! -d "/var/www/$REDMATRIX_DOMAIN_NAME/htdocs/store/[data]" ]; then if [ ! -d "/var/www/$REDMATRIX_DOMAIN_NAME/htdocs/store/[data]" ]; then
mkdir "/var/www/$REDMATRIX_DOMAIN_NAME/htdocs/store/[data]" mkdir "/var/www/$REDMATRIX_DOMAIN_NAME/htdocs/store/[data]"
fi fi