Hi,
I insisted on my intuition, which said that the versioning was wrong,
and checked with dpkg, which confirmed it. This has already been fixed
in my Salsa fork. Sorry.
dpkg --compare-versions 5.21.14-0.1+deb12u1 lt 5.21.14-1
echo $?
0 (true)
dpkg --compare-versions 5.21.14-1.1+deb12u1 lt 5.21.14-1
echo $?
1 (false)
lt: less than
Example: dpkg --compare-versions 1.0 lt 2.0 → true
le: less than or equal
Example: dpkg --compare-versions 1.0 le 1.0 → true
eq: equal
Example: dpkg --compare-versions 1.0 eq 1.0 → true
ne: not equal
Example: dpkg --compare-versions 1.0 ne 2.0 → true
ge: greater than or equal
Example: dpkg --compare-versions 2.0 ge 1.0 → true
gt: greater than
Example: dpkg --compare-versions 2.0 gt 1.0 → true
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 481 |
Nodes: | 16 (3 / 13) |
Uptime: | 17:41:31 |
Calls: | 9,542 |
Calls today: | 2 |
Files: | 13,653 |
Messages: | 6,139,890 |