|
@@ -56,6 +56,7 @@ function gnusocial_update_after_restore {
|
56
|
56
|
# Ensure that the database password is correct
|
57
|
57
|
MARIADB_PASSWORD=$(${PROJECT_NAME}-pass -u root -a mariadb)
|
58
|
58
|
sed -i "s|\$config['db']['database'].*|\$config['db']['database'] = 'mysqli://root:${MARIADB_PASSWORD}@localhost/${gnusocial_variant}';|g" config.php
|
|
59
|
+ MARIADB_PASSWORD=
|
59
|
60
|
|
60
|
61
|
# Set permissions
|
61
|
62
|
chmod g+w /var/www/$gnusocial_domain/htdocs
|