mirror of
https://github.com/YunoHost-Apps/galene_ynh.git
synced 2024-09-03 18:36:31 +02:00
Fix
This commit is contained in:
parent
e7411f40ae
commit
47131fca07
3 changed files with 3 additions and 3 deletions
|
@ -77,8 +77,8 @@
|
||||||
"en": "The name will be used as filename (do not use space, dots or / in your name group).",
|
"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)."
|
"fr": "Le nom sera utilisé comme nom de fichier (n'utilisez pas d'espace, de points ou / dans votre groupe de noms)."
|
||||||
},
|
},
|
||||||
"default": "groupname",
|
"default": "public",
|
||||||
"example": "groupname"
|
"example": "public"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -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=__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"
|
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=__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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue