From 43fcfdec6fee294755d92b8b77616d10b5e1bbd6 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 13 Jan 2021 09:30:08 +0100 Subject: [PATCH] Fix typo --- manifest.json | 6 +++--- scripts/install | 6 +++--- scripts/upgrade | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/manifest.json b/manifest.json index 99d22fb..01019f4 100644 --- a/manifest.json +++ b/manifest.json @@ -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" }, { diff --git a/scripts/install b/scripts/install index 5e61de5..a7e0e80 100644 --- a/scripts/install +++ b/scripts/install @@ -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" diff --git a/scripts/upgrade b/scripts/upgrade index 7164bcf..5093a14 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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