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:
commit
085ab7d9d0
2 changed files with 1 additions and 11 deletions
|
@ -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"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue