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"