Random question: How often do you update your packages?

Like I see others do - I have dropped notifiers - they are a pain.

I update the system when I install a new package - you know - pacman -Syu pkg.

So mainly I update when I have time to troubleshoot the update - if it goes wrong - I must say - it rarely do.

Years back when I began using Arch I had more issues - so either I have been learning or Arch just got better - or maybe a combo.

@Kresimir I really liked this one

Mogrified
2020-08-25T06:14:00Z EDIT: fix regex (add yay)

#!/usr/bin/env bash
reboot="(ucode|cryptsetup|linux|nvidia|mesa|systemd|wayland|xf86-video|xorg)"
updates=$(checkupdates; yay -Qua)
echo "$updates"
if [[ $updates =~ $reboot ]]; then
    echo "Needs reboot .."
fi
1 Like