I deal with (maintain) some lib32 packages and I'm try to make a sh script to compare version of specified packages to tell me "need to update". e.g.: ppl and lib32-ppl.
A simple [ $onepkgver -lt $otherpkgver ] will not work, because they are not integer, so I think I'll need to work on strings, splitting them for each dot found.
Any suggestion of an approach to solve this issue?
Last edited by josephg (2012-04-23 04:09:33)
pacman (package) includes vercmp.
Last edited by Raynman (2012-04-22 19:59:04)