Thoughts on my update script? Any suggestions for improvement?
https://feddit.org/post/2836315
=> More informations about this toot | More toots from superkret@feddit.org
Nice, I have a similar one. Things I also do there:
=> More informations about this toot | More toots from infeeeee@lemm.ee
I’ve just been using github.com/topgrade-rs/topgrade
=> More informations about this toot | More toots from eric@lemmy.ca
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 😭
=> More informations about this toot | More toots from dessalines@lemmy.ml
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?
=> More informations about this toot | More toots from friend_of_satan@lemmy.world
pacman-contrib has pacdiff and paccache I like to run at the end of my update scripts
=> More informations about this toot | More toots from CaptDust@sh.itjust.works
Switch to printf.
printf “%s\n” “text goes here”
=> More informations about this toot | More toots from some_guy@lemmy.sdf.org This content has been proxied by September (3851b).Proxy Information
text/gemini