1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00
This commit is contained in:
ericgaspar 2021-01-17 16:21:47 +01:00
parent 2b039257c6
commit 941d6b8f0e
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 6 deletions

View file

@ -1,8 +1,8 @@
{
"op": [{"username": "admin", "password": "1234"}],
"op": [{"username": "__ADMINN__", "password": "__PASSWORD__"}],
"presenter": [
{"username": "mom", "password": "0000"},
{"username": "dad", "password": "1111"}
{"username": "", "password": ""},
{"username": "", "password": ""}
],
"contact": "username@domain.com",
"comment": "Public Conference",

View file

@ -124,12 +124,10 @@ ynh_add_systemd_config
#=================================================
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="__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="__PASSWORD__" --replace_string="$password" --target_file="$final_path/groups/$group_name.json"