On Wed,03.Jun.09, 10:34:36, Sven Joachim wrote: > > > I think the correct way is to *append* to the version, not munge it: > > > > 1.2.3lenny1+local1 (I like to use + as separator) > > This will not work if the original version is 1.2.3, because > 1.2.3+local1 > 1.2.3lenny1 (the version for potential security updates).
'+' is a bad separator, '~' is better: $ dpkg --compare-versions 1.2.3~local1 lt 1.2.3lenny1 ; echo $? 0 Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein)
signature.asc
Description: Digital signature