]>
code.delx.au - monosys/blob - check-aur-updates
5 pacman
-Qm |
while read pkg installed_version
; do
6 aur_version
="$(curl -gsSf "https
://aur.archlinux.org
/rpc
/?v
=5&type=info
&arg
[]=${pkg}" | jq -r '.results[0].Version')"
7 if [ "$installed_version" != "$aur_version" ]; then
8 echo "New ${pkg}: $installed_version -> $aur_version"