mirror of
https://github.com/YunoHost-Apps/meilisearch_ynh.git
synced 2024-09-03 19:45:59 +02:00
typo
This commit is contained in:
parent
558ee51d5c
commit
cf8f27d1fc
3 changed files with 7 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
latest="v0.10.1"
|
latest="v0.10.1"
|
||||||
|
|
||||||
ynh_detect_arch(){
|
ynh_detect_arch() {
|
||||||
local architecture
|
local architecture
|
||||||
if [ -n "$(uname -m | grep arm64)" ] || [ -n "$(uname -m | grep arm)" ]; then
|
if [ -n "$(uname -m | grep arm64)" ] || [ -n "$(uname -m | grep arm)" ]; then
|
||||||
architecture="armv8"
|
architecture="armv8"
|
||||||
|
@ -18,9 +18,9 @@ ynh_detect_arch(){
|
||||||
echo $architecture
|
echo $architecture
|
||||||
}
|
}
|
||||||
|
|
||||||
installation_mailisearch(){
|
ynh_installation_mailisearch() {
|
||||||
arch=$(ynh_detect_arch)
|
local arch=$(ynh_detect_arch)
|
||||||
url=""
|
local url=""
|
||||||
if [[ $arch = "amd64" ]]
|
if [[ $arch = "amd64" ]]
|
||||||
then
|
then
|
||||||
url="meilisearch-linux-amd64"
|
url="meilisearch-linux-amd64"
|
||||||
|
|
|
@ -79,7 +79,8 @@ ynh_app_setting_set --app=$app --key=port --value=$port
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_script_progression --message="Installing mailisearch..." --time --weight=1
|
ynh_script_progression --message="Installing mailisearch..." --time --weight=1
|
||||||
installation_mailisearch
|
|
||||||
|
ynh_installation_mailisearch
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -103,7 +103,7 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Upgrading mailisearch..." --time --weight=1
|
ynh_script_progression --message="Upgrading mailisearch..." --time --weight=1
|
||||||
|
|
||||||
installation_mailisearch
|
ynh_installation_mailisearch
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE DEDICATED USER
|
# CREATE DEDICATED USER
|
||||||
|
|
Loading…
Reference in a new issue