mirror of
https://github.com/YunoHost-Apps/galene_ynh.git
synced 2024-09-03 18:36:31 +02:00
Fix
This commit is contained in:
parent
2b039257c6
commit
941d6b8f0e
2 changed files with 4 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"op": [{"username": "admin", "password": "1234"}],
|
"op": [{"username": "__ADMINN__", "password": "__PASSWORD__"}],
|
||||||
"presenter": [
|
"presenter": [
|
||||||
{"username": "mom", "password": "0000"},
|
{"username": "", "password": ""},
|
||||||
{"username": "dad", "password": "1111"}
|
{"username": "", "password": ""}
|
||||||
],
|
],
|
||||||
"contact": "username@domain.com",
|
"contact": "username@domain.com",
|
||||||
"comment": "Public Conference",
|
"comment": "Public Conference",
|
||||||
|
|
|
@ -124,12 +124,10 @@ ynh_add_systemd_config
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
cp ../conf/passwd $final_path/data/passwd
|
cp ../conf/passwd $final_path/data/passwd
|
||||||
|
|
||||||
ynh_replace_string --match_string="__ADMIN__" --replace_string="$admin" --target_file="$final_path/data/passwd"
|
ynh_replace_string --match_string="__ADMIN__" --replace_string="$admin" --target_file="$final_path/data/passwd"
|
||||||
ynh_replace_string --match_string="__PASSWORD__" --replace_string="$password" --target_file="$final_path/data/passwd"
|
ynh_replace_string --match_string="__PASSWORD__" --replace_string="$password" --target_file="$final_path/data/passwd"
|
||||||
|
|
||||||
cp ../conf/groupname.json $final_path/groups/$group_name.json
|
mv ../conf/groupname.json $final_path/groups/$group_name.json
|
||||||
|
|
||||||
ynh_replace_string --match_string="__ADMIN__" --replace_string="$admin" --target_file="$final_path/groups/$group_name.json"
|
ynh_replace_string --match_string="__ADMIN__" --replace_string="$admin" --target_file="$final_path/groups/$group_name.json"
|
||||||
ynh_replace_string --match_string="__PASSWORD__" --replace_string="$password" --target_file="$final_path/groups/$group_name.json"
|
ynh_replace_string --match_string="__PASSWORD__" --replace_string="$password" --target_file="$final_path/groups/$group_name.json"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue