1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00

remove email

This commit is contained in:
ericgaspar 2021-01-15 23:10:51 +01:00
parent d290e8ac0f
commit c7aff3b34c
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 1 additions and 3 deletions

View file

@ -4,7 +4,7 @@
{"username": "", "password": ""}, {"username": "", "password": ""},
{"username": "", "password": ""} {"username": "", "password": ""}
], ],
"contact": "__EMAIL__", "contact": "username@domain.com",
"comment": "Public Conference", "comment": "Public Conference",
"description": "a human-readable description of the group; this is displayed on the landing page for public groups.", "description": "a human-readable description of the group; this is displayed on the landing page for public groups.",
"autolock": true, "autolock": true,

View file

@ -26,7 +26,6 @@ ynh_abort_if_errors
domain=$YNH_APP_ARG_DOMAIN domain=$YNH_APP_ARG_DOMAIN
path_url="/" path_url="/"
admin=$YNH_APP_ARG_ADMIN admin=$YNH_APP_ARG_ADMIN
email=$(ynh_user_get_info "$admin" mail)
is_public=$YNH_APP_ARG_IS_PUBLIC is_public=$YNH_APP_ARG_IS_PUBLIC
ynh_print_OFF ynh_print_OFF
password=$YNH_APP_ARG_PASSWORD password=$YNH_APP_ARG_PASSWORD
@ -211,7 +210,6 @@ ynh_replace_string --match_string=__PASSWORD__ --replace_string=$password --targ
mv ../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"
ynh_replace_string --match_string=__EMAIL__ --replace_string=$email --target_file="$final_path/groups/$group_name.json"
cp ../conf/ice-servers.json $final_path/data/ice-servers.json cp ../conf/ice-servers.json $final_path/data/ice-servers.json
ynh_replace_string --match_string=__DOMAIN__ --replace_string=$domain --target_file="$final_path/data/ice-servers.json" ynh_replace_string --match_string=__DOMAIN__ --replace_string=$domain --target_file="$final_path/data/ice-servers.json"