Author: frankie Date: 2008-06-09 11:48:44 +0000 (Mon, 09 Jun 2008) New Revision: 1609
Added: packages/postgis/trunk/debian/postgis-generic.postrm.in Removed: packages/postgis/trunk/debian/postgis-generic.postinst.in Modified: packages/postgis/trunk/debian/rules Log: Postinst was postrm for postgis :-( Deleted: packages/postgis/trunk/debian/postgis-generic.postinst.in =================================================================== --- packages/postgis/trunk/debian/postgis-generic.postinst.in 2008-06-09 11:15:19 UTC (rev 1608) +++ packages/postgis/trunk/debian/postgis-generic.postinst.in 2008-06-09 11:48:44 UTC (rev 1609) @@ -1,12 +0,0 @@ -#!/bin/sh - -set -e - -# Removes all postgis shared libs links -if [ "$1" = "purge" ]; then - find /usr/lib/postgresql/@POSTGRES_VERSION@/lib -type f -name "liblwgeom.so.*" -delete -fi - -#DEBHELPER# - -exit 0 Copied: packages/postgis/trunk/debian/postgis-generic.postrm.in (from rev 1608, packages/postgis/trunk/debian/postgis-generic.postinst.in) =================================================================== --- packages/postgis/trunk/debian/postgis-generic.postrm.in (rev 0) +++ packages/postgis/trunk/debian/postgis-generic.postrm.in 2008-06-09 11:48:44 UTC (rev 1609) @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +# Removes all postgis shared libs links +if [ "$1" = "purge" ]; then + find /usr/lib/postgresql/@POSTGRES_VERSION@/lib -type f -name "liblwgeom.so.*" -delete +fi + +#DEBHELPER# + +exit 0 Modified: packages/postgis/trunk/debian/rules =================================================================== --- packages/postgis/trunk/debian/rules 2008-06-09 11:15:19 UTC (rev 1608) +++ packages/postgis/trunk/debian/rules 2008-06-09 11:48:44 UTC (rev 1609) @@ -51,7 +51,7 @@ [ -f doc/html/postgis.html.prev ] && mv doc/html/postgis.html.prev doc/html/postgis.html || true [ ! -f Makefile ] || $(MAKE) distclean [ ! -f java/jdbc/Makefile ] || $(MAKE) -C java/jdbc clean - rm -f $(CURDIR)/debian/*.postinst + rm -f $(CURDIR)/debian/*.postinst $(CURDIR)/debian/*.postrm dh_clean install: install-indep install-arch @@ -109,7 +109,7 @@ -e 's/@SOVERSION@/1.3/' \ $(CURDIR)/debian/postgis-postgresql-generic.postinst.in >$(CURDIR)/debian/postgresql-8.3-postgis.postinst sed -e 's/@POSTGRES_VERSION@/8.3/' \ - $(CURDIR)/debian/postgis-generic.postinst.in >$(CURDIR)/debian/postgis.postinst + $(CURDIR)/debian/postgis-generic.postrm.in >$(CURDIR)/debian/postgis.postrm dh_install -s # Must not depend on anything. This is to be called by _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel