From 2c9566117ad908355b0948dacd264543bf8afbd6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 3 Feb 2016 15:41:46 +0000 Subject: [PATCH] quotes --- src/freedombone | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/freedombone b/src/freedombone index 3f7b56cb..20949c15 100755 --- a/src/freedombone +++ b/src/freedombone @@ -593,8 +593,8 @@ function create_database { mkdir $INSTALL_DIR fi echo "create database ${app_name}; -CREATE USER '${app_name}admin'@'localhost' IDENTIFIED BY '${app_admin_password}'; -GRANT ALL PRIVILEGES ON ${app_name}.* TO '${app_name}admin'@'localhost'; +CREATE USER '${app_name}admin@localhost' IDENTIFIED BY '${app_admin_password}'; +GRANT ALL PRIVILEGES ON ${app_name}.* TO '${app_name}admin@localhost'; quit" > $INSTALL_DIR/batch.sql chmod 600 $INSTALL_DIR/batch.sql mysql -u root --password="$MARIADB_PASSWORD" < $INSTALL_DIR/batch.sql @@ -8296,9 +8296,6 @@ function install_gnu_social { chmod a+w /var/www/$MICROBLOG_DOMAIN_NAME/htdocs chown www-data:www-data /var/www/$MICROBLOG_DOMAIN_NAME/htdocs - chmod a+w /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/avatar - chmod a+w /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/background - chmod a+w /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/file chmod +x /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/scripts/maildaemon.php get_mariadb_gnusocial_admin_password @@ -8531,7 +8528,7 @@ function install_gnu_social { ${gnu_social_installer} --host="localhost" --database="gnusocial" \ --dbtype=mysql --username="root" -v \ --password="$MARIADB_PASSWORD" \ - --sitename="My Social Network" --fancy \ + --sitename="My Social Network" --fancy='yes' \ --admin-nick="gnusocialadmin" \ --admin-pass="$MICROBLOG_ADMIN_PASSWORD" \ --site-profile="community" \