On 06/12/2010 18:01, Mehdi Dogguy wrote:

(Sorry fot this n-th request but hopefully, it will be the last one)


hum… another one:

In your postinst, you use dpkg --compare-versions withtout adding quotes
around your arguments. So that fails when, e.g. $2 is empty.

- dpkg --compare-versions $2 le-nl $OLDVERSION
+ dpkg --compare-versions "$2" le-nl "$OLDVERSION"

would be enough I guess.

Regards,

--
Mehdi Dogguy مهدي الدڤي
http://dogguy.org/


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to