Hi Piotr,

[email protected] wrote:
> * Switch to python-support
>   + add preinst to remove pycentral files

> Added: packages/pyenchant/trunk/debian/preinst
> ===================================================================
> --- packages/pyenchant/trunk/debian/preinst                           (rev 0)
> +++ packages/pyenchant/trunk/debian/preinst   2009-04-26 21:31:16 UTC (rev 
> 8307)
> @@ -0,0 +1,9 @@
> +#!/bin/sh
> +# TODO: remove this file after releasing Squeeze
> +set -e
> +if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 1.5.2-1~;

I think you want lt-nl there, rather than lt.

Cheers,
Emilio

> +then
> +     pycentral pkgremove python-enchant
> +fi
> +
> +#DEBHELPER#

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to