From 5abfd49afb8a10e69280332d20fcf176ff31aeb8 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 13 Jan 2021 22:37:15 +0100 Subject: [PATCH] Update install --- scripts/install | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 497e8c3..07a0223 100755 --- a/scripts/install +++ b/scripts/install @@ -209,12 +209,11 @@ 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 -f $final_path/groups/groupname.json $final_path/groups/groupname.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/groupname.json" -ynh_replace_string --match_string=__PASSWORD__ --replace_string=$password --target_file="$final_path/groups/groupnamejson" +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" -mv -f $final_path/groups/groupname.json $final_path/groups/$group_name.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"