Bash script for updating gtl
If somebody want to save time, you write a automating script in Bash. You shouldn't wonder if writing scripts is more time consuming, because it's Sunday afternoon. So I have written bash script for updating [GTL: Gemini Tiny Logs].
What this script is doing?
- Check the last version of gtl on GitHub
- Check the last version of gtl installed in current directory
- Download a new version from GitHub to current directory
- Do chmode +x for a new version file
- Do ln ~/.local/bin/gtl for a new version file
update.gtl.sh
2021-07-25 Update - Source code moved to [repository].
#!/bin/bash last_available=$(curl -s https://github.com/bacardi55/gtl/releases | grep "--
szczezuja.space CC BY-SA
@ Sun 11 Jul 2021 04:59:25 PM CEST
tags: #bash, #tinylog, #gtl, #script