1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00

Remove hard dependency on MySQL

This commit is contained in:
Pierre de La Morinerie 2017-01-03 15:17:34 +00:00
parent 6806cc48e2
commit 4b2890ba1d
2 changed files with 2 additions and 6 deletions

View file

@ -13,12 +13,8 @@
}, },
"multi_instance": "false", "multi_instance": "false",
"services": [ "services": [
"nginx", "nginx"
"mysql-common"
], ],
"requirements": {
"mysql-common": ">= 5.6"
},
"arguments": { "arguments": {
"install" : [ "install" : [
{ {

View file

@ -30,7 +30,7 @@ if [[ "$mysql_version" == *"Distrib 4."* ]] \
|| [[ "$mysql_version" == *"Distrib 5.4"* ]] \ || [[ "$mysql_version" == *"Distrib 5.4"* ]] \
|| [[ "$mysql_version" == *"Distrib 5.5"* ]]; || [[ "$mysql_version" == *"Distrib 5.5"* ]];
then then
echo "Mattermost requires MySQL 5.6 or higher." echo "Mattermost requires MySQL 5.6 or higher, or MariaDB 10 or higher."
exit 1 exit 1
fi fi