I've just been using https://github.com/topgrade-rs/topgrade
this post was submitted on 14 Sep 2024
35 points (97.3% liked)
Arch Linux
7739 readers
1 users here now
The beloved lightweight distro
founded 4 years ago
MODERATORS
Love this. One of those extremely satisfying terminal commands to pointlessly run over and over, so much so that I added it to my crontab so I don't do that ๐ญ
Your echo
statements should be put into a function so you don't have \n
littered throughout your script.
Your url var could be improved. Why have it? If you really want it, why not put type=info in the var?
Switch to printf
.
printf "%s\n" "text goes here"
Nice, I have a similar one. Things I also do there:
flatpak update
tldr -u
to update tldr pages- Check if reboot needed after kernel update, and display a notification about it
pacman-contrib has pacdiff and paccache I like to run at the end of my update scripts