diff --git a/src/freedombone-utils-gnusocialtools b/src/freedombone-utils-gnusocialtools index 022d5677..5b6cfa33 100755 --- a/src/freedombone-utils-gnusocialtools +++ b/src/freedombone-utils-gnusocialtools @@ -56,6 +56,7 @@ function gnusocial_update_after_restore { # Ensure that the database password is correct MARIADB_PASSWORD=$(${PROJECT_NAME}-pass -u root -a mariadb) sed -i "s|\$config['db']['database'].*|\$config['db']['database'] = 'mysqli://root:${MARIADB_PASSWORD}@localhost/${gnusocial_variant}';|g" config.php + MARIADB_PASSWORD= # Set permissions chmod g+w /var/www/$gnusocial_domain/htdocs