mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
cleaning
This commit is contained in:
parent
caf79dfd4e
commit
bc2f30663f
2 changed files with 2 additions and 17 deletions
|
@ -5,7 +5,7 @@ name = "Mattermost"
|
|||
description.en = "Open source collaboration platform built for developers"
|
||||
description.fr = "Plateforme de collaboration open source conçue pour les développeurs"
|
||||
|
||||
version = "7.5.2~ynh1"
|
||||
version = "7.7.1~ynh1"
|
||||
|
||||
maintainers = ["pmorinerie"]
|
||||
|
||||
|
|
|
@ -9,22 +9,6 @@
|
|||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# RETRIEVE ARGUMENTS FROM THE MANIFEST
|
||||
#=================================================
|
||||
|
||||
email=$(ynh_user_get_info --username=$admin --key=mail)
|
||||
#team_display_name=$YNH_APP_ARG_TEAM_DISPLAY_NAME
|
||||
#version=$YNH_APP_ARG_VERSION
|
||||
|
||||
#=================================================
|
||||
# STORE SETTINGS FROM MANIFEST
|
||||
#=================================================
|
||||
ynh_script_progression --message="Storing installation settings..." --weight=6
|
||||
|
||||
ynh_app_setting_set --app=$app --key=version --value=$version
|
||||
ynh_app_setting_set --app=$app --key=team_display_name --value=$team_display_name
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
|
@ -89,6 +73,7 @@ ynh_script_progression --message="Create the first administrator and team..." --
|
|||
|
||||
team_name=$(echo "$team_display_name" | iconv -f utf8 -t ascii//TRANSLIT//IGNORE | sed -e 's/[^[:alnum:]]/-/g' | tr -s '-' | tr A-Z a-z)
|
||||
bin_mmctl="$install_dir/bin/mmctl"
|
||||
email=$(ynh_user_get_info --username=$admin --key=mail)
|
||||
|
||||
# mmctl is not packaged with ARM versions yet
|
||||
if [[ -f "$bin_mmctl" ]]; then
|
||||
|
|
Loading…
Reference in a new issue