diff --git a/scripts/install b/scripts/install index 21fe8fe..44aa3e4 100755 --- a/scripts/install +++ b/scripts/install @@ -128,7 +128,7 @@ 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 $final_path/groups/groupname.json $final_path/groups/$group_name.json +mv $final_path/groups/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"