mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Fix typo
This commit is contained in:
parent
547c9f0099
commit
43fcfdec6f
3 changed files with 9 additions and 9 deletions
|
@ -81,10 +81,10 @@
|
|||
"fr": "Choisissez la version que vous souhaitez installer"
|
||||
},
|
||||
"help": {
|
||||
"en": "Use Team Edition for the open source version (ARM, ARM64 and x86-64 support) or Entreprise edition if you want to use a license (x86-64 support only)",
|
||||
"fr": "Utilisez Team Edition pour la version open source (prise en charge ARM, ARM64 et x86-64) ou Entreprise Edition si vous souhaitez utiliser une licence (prise en charge x86-64 uniquement)"
|
||||
"en": "Use Team Edition for the open source version (ARM, ARM64 and x86-64 support) or Enterprise Edition if you want to use a license (x86-64 support only)",
|
||||
"fr": "Utilisez Team Edition pour la version open source (prise en charge ARM, ARM64 et x86-64) ou Enterprise Edition si vous souhaitez utiliser une licence (prise en charge x86-64 uniquement)"
|
||||
},
|
||||
"choices": ["Entreprise", "Team"],
|
||||
"choices": ["Enterprise", "Team"],
|
||||
"default": "Team"
|
||||
},
|
||||
{
|
||||
|
|
|
@ -97,9 +97,9 @@ ynh_script_progression --message="Setting up source files..." --weight=3
|
|||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
|
||||
if [ "$version" = "Entreprise" ]; then
|
||||
# Get Entreprise binary path
|
||||
ynh_setup_source --dest_dir="$final_path" --source_id="entreprise"
|
||||
if [ "$version" = "Enterprise" ]; then
|
||||
# Get Enterprise binary path
|
||||
ynh_setup_source --dest_dir="$final_path" --source_id="enterprise"
|
||||
elif [ "$version" = "Team" ]; then
|
||||
# Get Team binary path
|
||||
ynh_setup_source --dest_dir="$final_path" --source_id="$architecture"
|
||||
|
|
|
@ -69,7 +69,7 @@ fi
|
|||
|
||||
# If version setting doesn't exist
|
||||
if [ -z "$version" ]; then
|
||||
version="Team"
|
||||
version="Enterprise"
|
||||
ynh_app_setting_set --app=$app --key=version --value=$version
|
||||
fi
|
||||
|
||||
|
@ -113,8 +113,8 @@ then
|
|||
# Remove the app directory securely
|
||||
ynh_secure_remove --file="$final_path"
|
||||
|
||||
if [ "$version" = "Entreprise" ]; then
|
||||
ynh_setup_source --dest_dir="$final_path" --source_id="entreprise"
|
||||
if [ "$version" = "Enterprise" ]; then
|
||||
ynh_setup_source --dest_dir="$final_path" --source_id="enterprise"
|
||||
elif [ "$version" = "Team" ]; then
|
||||
ynh_setup_source --dest_dir="$final_path" --source_id="$architecture"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue