1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/meilisearch_ynh.git synced 2024-09-03 19:45:59 +02:00
This commit is contained in:
frju365 2020-05-15 23:15:40 +02:00
parent 558ee51d5c
commit cf8f27d1fc
No known key found for this signature in database
GPG key ID: C892BE847FF5635A
3 changed files with 7 additions and 6 deletions

View file

@ -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"

View file

@ -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
#================================================= #=================================================

View file

@ -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