From c88f1fbf79fb238a2ea65ce1932465c741424ece Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 3 Mar 2014 18:01:18 +0000 Subject: [PATCH] Fix guessing module from .sql script (#2659) git-svn-id: http://svn.osgeo.org/postgis/trunk@12290 b70326c6-7e19-0410-871a-916f4a2858ee --- utils/postgis_proc_upgrade.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/postgis_proc_upgrade.pl b/utils/postgis_proc_upgrade.pl index a94328169..a7b7d0b44 100755 --- a/utils/postgis_proc_upgrade.pl +++ b/utils/postgis_proc_upgrade.pl @@ -162,7 +162,7 @@ while() if (/INSTALL VERSION: (.*)/) { $version_to = $1; - last; + #last; } elsif (/TYPE raster/) { @@ -445,14 +445,14 @@ DECLARE BEGIN -- -- This uses postgis_lib_version() rather then - -- postgis_scripts_installed() as in 1.0 because + -- MODULE_scripts_installed() as in 1.0 because -- in the 1.0 => 1.1 transition that would result -- in an impossible upgrade: -- -- from 0.3.0 to 1.1.0 -- -- Next releases will still be ok as - -- postgis_lib_version() and postgis_scripts_installed() + -- postgis_lib_version() and MODULE_scripts_installed() -- would both return actual PostGIS release number. -- BEGIN -- 2.50.1