tags 917566 - moreinfo thanks Hi Dmitry,
> Probably I missing something oblivious, but still: if you know that > version X is latest […] I think it was me who was missing oblivious; your pseudocode helped clarify what you were after so thanks for persevering. > grep -v '#' $maintscript | grep -F "$v" ; then ^^^^^^^^^^^^ Can we make this bit smarter? Or rather; can we? I'm wondering if we might be grepping for "1.2-3" but the script uses "dpkg -- compare-versions $X -gte 1.2" or something like that.. > But issue is not sysvinit-specific. I have number of packages, that have > code in maintainer scripts, that deals with upgrades from specific > versions Can you link to some concrete examples on this bug report if you have a moment? Best wishes, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-