Add email folder for gnusocial when creating new user

This commit is contained in:
Bob Mottram 2016-03-10 10:06:03 +00:00
parent 762b597754
commit b0ddb91430
1 changed files with 4 additions and 3 deletions

View File

@ -267,6 +267,7 @@ if grep -q "install_gnu_social" $COMPLETION_FILE; then
if [ -d /var/www/$MICROBLOG_DOMAIN_NAME ]; then
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs
php scripts/registeruser.php -n $MY_USERNAME -w "$NEW_USER_PASSWORD" -e "$MY_USERNAME@$HOSTNAME"
freedombone-addemail -u $MY_USERNAME -e "noreply@$MICROBLOG_DOMAIN_NAME" -g gnusocial --public no
echo $'Created GNU Social user'
else
echo $"Unable to find GNU Social installation at /var/www/$MICROBLOG_DOMAIN_NAME/htdocs"