Luca Ruggeri@mastodon.unotoArch Linux@lemmy.ml•Is there a way to get notified, when an [#ArchLinux](https://ma.fellr.net/tags/ArchLinux) package is updated?
1·
1 year ago@fell @archlinux@lemmy.ml @archlinux@lemmy.world @archlinux@discuss.tchncs.de @archlinux@kbin.social @archlinux@a.gup.pe you’d need to use a temporary database, keep doing pacman -Sy then pacman -Si package | grep version
All by memory may be wrong
@fell @archlinux@lemmy.ml @archlinux@lemmy.world @archlinux@discuss.tchncs.de @archlinux@kbin.social @archlinux@a.gup.pe you need something to call checkupdates | grep package every some time, i put it into my #fish shell greeting so everytime i open a shell i see how many packages i have to install
The code is
echo ‘Searching for updates…’
echo “Updates found:” $(checkupdates | wc -l)
This code should run over bash too