Le 2012-10-04 02:20, Pierre Schmitz a écrit :
Am 04.10.2012 08:12, schrieb Allan McRae:
On 04/10/12 16:03, Pierre Schmitz wrote:
In this case adding pacman as a dependency is
a bad idea. I would suggest to either remove this statement completely
as it just adds useless noise or at least check if vercmp is available;
if not we can assume no previous version of iputils was installed.
Umm... the vercmp check is actually completely useless as it does
"vercmp $2 <ver>" and there is no $2 in post_install... it should be in
post_upgrade only.
Yes, totally missed that. Of course a vercmp call can only be useful in
post_upgrade and *_remove.
Thank you Pierre and Allan for pointing this. Since the separation of
traceroute was done several months ago, I will just remove the message
and will keep these informations in mind for the future.
Regards,
Stéphane