MurzNN / element-web-update

Console script to auto update Element-web application to last release
MIT License
12 stars 5 forks source link

element-web-update.sh

This is a bash script that installs from scratch and checks the new released version of Matrix client Element-web from official Github repo and if it differs from installed - updates the local files with deleting old version (to cleanup old files) and unpacking new one, but with keeping the config files by mask config*.json.

You can put it to your crontab.daily and got an always fresh Element with forgetting about manual update routine.

Also you can override variables using copy of .env.example file and place it with .env name in your launching directory, variables:


Requirements:

On Debian/Ubuntu Linx systems you can install all of them using command:

sudo apt install jq curl 

Or similar way in other Linux systems.