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

Store the parameter

This commit is contained in:
Maniack Crudelis 2017-05-25 13:33:08 +02:00 committed by GitHub
parent 2f6e1d96b4
commit 0b8076404d

View file

@ -100,6 +100,7 @@ sudo sed -i "s|\"FileLocation\": \"\"|\"FileLocation\": \"/var/log/mattermost.lo
if [ $analytics -eq 0 ]; then
sudo sed -i "s|\"EnableDiagnostics\": true|\"EnableDiagnostics\": false|g" $final_path/config/config.json
fi
sudo yunohost app setting mattermost analytics -v $analytics
# Set permissions to app directories
sudo chown -R www-data: $final_path