[Python-modules-team] [Python-modules-commits] r8307 - in packages/pyenchant/trunk/debian (6 files)

Emilio Pozuelo Monfort pochu at ubuntu.com
Sun Apr 26 21:34:49 UTC 2009


Hi Piotr,

piotr at users.alioth.debian.org 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#

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20090426/aaa74cb3/attachment.pgp>


More information about the Python-modules-team mailing list