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. -- Pierre Schmitz, https://pierre-schmitz.com

