1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00
This commit is contained in:
ericgaspar 2021-01-10 23:44:50 +01:00
parent 7a3549c582
commit 781e9732dd
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 10 additions and 14 deletions

View file

@ -3,8 +3,8 @@
"id": "mattermost",
"packaging_format": 1,
"description": {
"en": "An open-source, self-hosted alternative to Slack",
"fr": "Une alternative open-source et auto-hébergée à Slack"
"en": "Open source collaboration platform built for developers",
"fr": "Plateforme de collaboration open source conçue pour les développeurs"
},
"version": "5.30.1~ynh1",
"url": "http://www.mattermost.org/",

View file

@ -4,9 +4,6 @@
# COMMON VARIABLES
#=================================================
# dependencies used by the app
#pkg_dependencies="postgresql postgresql-contrib"
#=================================================
# PERSONAL HELPERS
#=================================================

View file

@ -45,12 +45,18 @@ if [[ $is_public == "Yes" ]]; then
elif [[ $is_public == "No" ]]; then
is_public=0
fi
ynh_app_setting_set "$app" is_public "$is_public"
ynh_app_setting_set --app=$app --key=is_public --value=$is_public
# Save the port used if not present
if ! [[ "$port" ]]; then
port=8065
ynh_app_setting_set "$app" port "$port"
ynh_app_setting_set --app=$app --key=port --value=$port
fi
# Language if not present
if ! [[ "$language" ]]; then
language="en"
ynh_app_setting_set --app=$app --key=language --value=$language
fi
#=================================================
@ -111,13 +117,6 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." -
# Create a dedicated NGINX config
ynh_add_nginx_config
#=================================================
# INSTALL DEPENDENCIES
#=================================================
#ynh_script_progression --message="Installing dependencies..." --weight=10
#ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
#=================================================
# SETUP SYSTEMD
#=================================================