mirror of
https://github.com/YunoHost-Apps/meilisearch_ynh.git
synced 2024-09-03 19:45:59 +02:00
Fix linter warnings
This commit is contained in:
parent
15f9e6fca8
commit
deeba0d0d8
5 changed files with 5 additions and 11 deletions
|
@ -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.
|
Meilisearch is an opensource next generation search API.
|
||||||
|
|
||||||
**Shipped version:** 0.17.0
|
**Shipped version:** 0.18.1
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Lightning Fast, Ultra Relevant, and Typo-Tolerant Search Engine.",
|
"en": "Lightning Fast, Ultra Relevant, and Typo-Tolerant Search Engine.",
|
||||||
"fr": "Moteur de recherche rapide, ultra-performant et tolérant aux fautes de frappe."
|
"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/",
|
"url": "https://www.meilisearch.com/",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
latest="v0.17.0"
|
latest="v0.18.1"
|
||||||
|
|
||||||
ynh_detect_arch() {
|
ynh_detect_arch() {
|
||||||
local architecture
|
local architecture
|
||||||
|
|
|
@ -65,7 +65,7 @@ ynh_app_setting_set --app=$app --key=allow_analyse --value=$allow_analyse
|
||||||
# FIND AND OPEN A PORT
|
# 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
|
# Find an available port
|
||||||
port=$(ynh_find_port --port=8095)
|
port=$(ynh_find_port --port=8095)
|
||||||
|
|
|
@ -55,7 +55,7 @@ fi
|
||||||
# FIND AND OPEN A PORT
|
# 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
|
# Find an available port
|
||||||
port=$(ynh_find_port --port=8095)
|
port=$(ynh_find_port --port=8095)
|
||||||
|
@ -75,12 +75,6 @@ ynh_clean_setup () {
|
||||||
# Exit if an error occurs during the execution of the script
|
# Exit if an error occurs during the execution of the script
|
||||||
ynh_abort_if_errors
|
ynh_abort_if_errors
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# CHECK THE PATH
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
path_url=$(ynh_normalize_url_path --path_url=$path_url)
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD UPGRADE STEPS
|
# STANDARD UPGRADE STEPS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue