From 47131fca07b7b459be4ed705864ccbcafc19331c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 13 Jan 2021 14:58:11 +0100 Subject: [PATCH] Fix --- conf/{name_group_to_change.json => groupname.json} | 0 manifest.json | 4 ++-- scripts/install | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename conf/{name_group_to_change.json => groupname.json} (100%) diff --git a/conf/name_group_to_change.json b/conf/groupname.json similarity index 100% rename from conf/name_group_to_change.json rename to conf/groupname.json diff --git a/manifest.json b/manifest.json index df87974..7fc5fb5 100644 --- a/manifest.json +++ b/manifest.json @@ -77,8 +77,8 @@ "en": "The name will be used as filename (do not use space, dots or / in your name group).", "fr": "Le nom sera utilisé comme nom de fichier (n'utilisez pas d'espace, de points ou / dans votre groupe de noms)." }, - "default": "groupname", - "example": "groupname" + "default": "public", + "example": "public" } ] } diff --git a/scripts/install b/scripts/install index a2ee044..ab2463f 100755 --- a/scripts/install +++ b/scripts/install @@ -209,7 +209,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" -mv $final_path/groups/name_group_to_change.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"