@angrylinus Btw I keep three versions in cache. My current solution is roughly the following:ls /var/cache/pacman/pkg \| grep --extended-regexp "^${pkg_name}-[0-9].*\.pkg\.tar\.(xz|zst)$" \ | sort --version-sort \ | tail -n 1
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.