diff -u postgis-1.3.5/debian/changelog postgis-1.3.5/debian/changelog --- postgis-1.3.5/debian/changelog +++ postgis-1.3.5/debian/changelog @@ -1,3 +1,10 @@ +postgis (1.3.5-1ubuntu1) karmic; urgency=low + + * debian/postgis-generic.postrm.in : backport fix from 1.4.0-2 to not stop + on error in postrm if the target dir does not exist. (LP: #392143) + + -- Jean-Baptiste Lallement Sun, 13 Dec 2009 12:51:04 +0100 + postgis (1.3.5-1) unstable; urgency=low * New upstream release. diff -u postgis-1.3.5/debian/control postgis-1.3.5/debian/control --- postgis-1.3.5/debian/control +++ postgis-1.3.5/debian/control @@ -1,7 +1,8 @@ Source: postgis Section: misc Priority: optional -Maintainer: Debian GIS Project +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian GIS Project Uploaders: Stephen Frost , Fabio Tranchitella , Francesco Paolo Lovergine Build-Depends: debhelper (>= 5.0.0), autotools-dev, flex, bison, postgresql-server-dev-8.3, libgeos-dev, proj, libssl-dev, xsltproc, docbook, docbook-xsl, libpg-java, jikes-classpath, fastjar, libjts-java (>=1.7), dpatch Standards-Version: 3.8.0 diff -u postgis-1.3.5/debian/postgis-generic.postrm.in postgis-1.3.5/debian/postgis-generic.postrm.in --- postgis-1.3.5/debian/postgis-generic.postrm.in +++ postgis-1.3.5/debian/postgis-generic.postrm.in @@ -4,7 +4,10 @@ # Removes all postgis shared libs links if [ "$1" = "purge" ]; then - find /usr/lib/postgresql/@POSTGRES_VERSION@/lib -type f -name "liblwgeom.so.*" -delete + for version in @POSTGRES_VERSION@ + do + find /usr/lib/postgresql/$version/lib -type f -name "liblwgeom.so.*" -delete || true + done fi #DEBHELPER#