From deeba0d0d8848ca6c6abf28cef7865db9fbac231 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 14 Jan 2021 23:38:13 +0100 Subject: [PATCH] Fix linter warnings --- README.md | 2 +- manifest.json | 2 +- scripts/_common.sh | 2 +- scripts/install | 2 +- scripts/upgrade | 8 +------- 5 files changed, 5 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index cda0989..1ab2e4c 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to Meilisearch is an opensource next generation search API. -**Shipped version:** 0.17.0 +**Shipped version:** 0.18.1 ## Screenshots diff --git a/manifest.json b/manifest.json index d9fead6..4c9b913 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Lightning Fast, Ultra Relevant, and Typo-Tolerant Search Engine.", "fr": "Moteur de recherche rapide, ultra-performant et tolérant aux fautes de frappe." }, - "version": "0.17.0~ynh1", + "version": "0.18.1~ynh1", "url": "https://www.meilisearch.com/", "license": "GPL-3.0", "maintainer": { diff --git a/scripts/_common.sh b/scripts/_common.sh index e829bdf..fafea48 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -1,6 +1,6 @@ #!/bin/bash -latest="v0.17.0" +latest="v0.18.1" ynh_detect_arch() { local architecture diff --git a/scripts/install b/scripts/install index 6695ab6..15223a5 100644 --- a/scripts/install +++ b/scripts/install @@ -65,7 +65,7 @@ ynh_app_setting_set --app=$app --key=allow_analyse --value=$allow_analyse # FIND AND OPEN A PORT #================================================= -ynh_script_progression --message="Configuring firewall..." --weight=2 +ynh_script_progression --message="Finding an available port..." --weight=2 # Find an available port port=$(ynh_find_port --port=8095) diff --git a/scripts/upgrade b/scripts/upgrade index dd9fdd4..ccdfcec 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -55,7 +55,7 @@ fi # FIND AND OPEN A PORT #================================================= -ynh_script_progression --message="Configuring firewall..." --weight=2 +ynh_script_progression --message="Finding an available port.." --weight=2 # Find an available port port=$(ynh_find_port --port=8095) @@ -75,12 +75,6 @@ ynh_clean_setup () { # Exit if an error occurs during the execution of the script ynh_abort_if_errors -#================================================= -# CHECK THE PATH -#================================================= - -path_url=$(ynh_normalize_url_path --path_url=$path_url) - #================================================= # STANDARD UPGRADE STEPS #=================================================