Re: Bug#604205: marked as done (systraq: package purge (after dependencies removal) fails)
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/
Reply to: