mirror of
https://github.com/YunoHost-Apps/meilisearch_ynh.git
synced 2024-09-03 19:45:59 +02:00
debug
This commit is contained in:
parent
89ebbd64fe
commit
8ca8b3faa2
1 changed files with 2 additions and 6 deletions
|
@ -81,13 +81,9 @@ 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
|
||||||
|
|
||||||
arch=$(ynh_detect_arch)
|
arch=$(ynh_detect_arch)
|
||||||
url=""
|
|
||||||
if [ $arch = "amd64" ]
|
if [ $arch != "amd64" ] || [ $arch != "armv8" ]
|
||||||
then
|
then
|
||||||
url="meilisearch-linux-amd64"
|
|
||||||
elif [ $arch = "armv8"]
|
|
||||||
url="meilisearch-linux-armv8"
|
|
||||||
else
|
|
||||||
ynh_die --message="Your OS Architecture is not supported"
|
ynh_die --message="Your OS Architecture is not supported"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue