1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00

Merge pull request #3 from YunoHost-Apps/develop

[Fix] again superuser creation
This commit is contained in:
frju365 2017-04-22 20:19:39 +02:00 committed by GitHub
commit 085ab7d9d0
2 changed files with 1 additions and 11 deletions

View file

@ -8,11 +8,5 @@
"username": "dbuser", "username": "dbuser",
"password": "dbpass", "password": "dbpass",
"database": "dbname" "database": "dbname"
}, }
"admin": {
"email": "admin_email",
"username": "admin_name",
"password": "admin_pass",
"password:confirm": "admin_pass2"
}
} }

View file

@ -160,10 +160,6 @@ sudo sed -i "s@__SECRET__@$secret@g" $final_path/config.json
sudo sed -i "s@dbuser@$dbuser@g" $final_path/config.json sudo sed -i "s@dbuser@$dbuser@g" $final_path/config.json
sudo sed -i "s@dbname@$dbname@g" $final_path/config.json sudo sed -i "s@dbname@$dbname@g" $final_path/config.json
sudo sed -i "s@dbpass@$dbpass@g" $final_path/config.json sudo sed -i "s@dbpass@$dbpass@g" $final_path/config.json
sudo sed -i "s@admin_email@$admin_email@g" $final_path/config.json
sudo sed -i "s@admin_name@$admin_name@g" $final_path/config.json
sudo sed -i "s@admin_pass@$admin_pass@g" $final_path/config.json
sudo sed -i "s@admin_pass2@$admin_pass@g" $final_path/config.json
#================================================= #=================================================
# CONFIGURE NODEBB # CONFIGURE NODEBB