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 <[EMAIL PROTECTED]> Sun, 08 Jun 2008 11:22:38 +0200 + -- Francesco Paolo Lovergine <[EMAIL PROTECTED]> 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/[EMAIL PROTECTED]@ ]; then - ln /usr/lib/postgis/@POSTGIS_VERSION@/postgres/@POSTGRES_VERSION@/lib/[EMAIL PROTECTED]@ \ - /usr/lib/postgresql/@POSTGRES_VERSION@/lib/[EMAIL PROTECTED]@ + ln -f /usr/lib/postgis/@POSTGIS_VERSION@/postgres/@POSTGRES_VERSION@/lib/[EMAIL PROTECTED]@ \ + /usr/lib/postgresql/@POSTGRES_VERSION@/lib/[EMAIL PROTECTED]@ fi fi _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel