[DebianGIS-dev] r1607 - packages/postgis/trunk/debian
frankie at alioth.debian.org
frankie at alioth.debian.org
Mon Jun 9 11:06:40 UTC 2008
Author: frankie
Date: 2008-06-09 11:06:39 +0000 (Mon, 09 Jun 2008)
New Revision: 1607
Modified:
packages/postgis/trunk/debian/changelog
packages/postgis/trunk/debian/postgis-generic.postinst.in
Log:
Fixating postinst script
Modified: packages/postgis/trunk/debian/changelog
===================================================================
--- packages/postgis/trunk/debian/changelog 2008-06-09 10:51:52 UTC (rev 1606)
+++ packages/postgis/trunk/debian/changelog 2008-06-09 11:06:39 UTC (rev 1607)
@@ -2,8 +2,13 @@
* Added Vcs-* fields in debian/control.
* Fixed download URL in debian/copyright.
+ * Now it installs the shared lib in a private postgis path and makes a
+ hard link in the postgres library path at configure time. That would
+ allow coexistence of different flavors of the library which could be
+ used by different DBs at run-time.
+ (closes: #441794, #441797)
- -- Francesco Paolo Lovergine <frankie at debian.org> Sun, 08 Jun 2008 11:22:38 +0200
+ -- Francesco Paolo Lovergine <frankie at debian.org> Mon, 09 Jun 2008 13:03:04 +0200
postgis (1.3.3-2) unstable; urgency=high
Modified: packages/postgis/trunk/debian/postgis-generic.postinst.in
===================================================================
--- packages/postgis/trunk/debian/postgis-generic.postinst.in 2008-06-09 10:51:52 UTC (rev 1606)
+++ packages/postgis/trunk/debian/postgis-generic.postinst.in 2008-06-09 11:06:39 UTC (rev 1607)
@@ -2,10 +2,10 @@
set -e
-if [ "$1" = "config" ]; then
+if [ "$1" = "configure" ]; then
if [ -f /usr/lib/postgis/@POSTGIS_VERSION@/postgres/@POSTGRES_VERSION@/lib/liblwgeom.so. at SOVERSION@ ]; then
- ln /usr/lib/postgis/@POSTGIS_VERSION@/postgres/@POSTGRES_VERSION@/lib/liblwgeom.so. at SOVERSION@ \
- /usr/lib/postgresql/@POSTGRES_VERSION@/lib/liblwgeom.so. at SOVERSION@
+ ln -f /usr/lib/postgis/@POSTGIS_VERSION@/postgres/@POSTGRES_VERSION@/lib/liblwgeom.so. at SOVERSION@ \
+ /usr/lib/postgresql/@POSTGRES_VERSION@/lib/liblwgeom.so. at SOVERSION@
fi
fi
More information about the Pkg-grass-devel
mailing list