[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-663-ge310da6fb

git at osgeo.org git at osgeo.org
Tue Feb 21 17:12:09 PST 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  e310da6fb07ed8d97660312ad6612f889f190ff0 (commit)
      from  34b58d2bf4c4d8aaeb482a68942b5fcad8ea260b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e310da6fb07ed8d97660312ad6612f889f190ff0
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Feb 22 02:11:51 2023 +0100

    Simplify the install hook

diff --git a/GNUmakefile.in b/GNUmakefile.in
index 93954d75b..2f9ac0530 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -30,22 +30,20 @@ all install uninstall noop clean distclean check-unit:
 		echo "PostGIS was built successfully. Ready to install."; \
 	fi
 ifneq (@EXTENSIONS@,)
-ifeq (@INSTALL_EXTENSION_UPGRADES@, yes)
 	@if test x"$@" = xinstall; then \
-		$(MAKE) install-extension-upgrades-from-known-versions; \
+		if test x"@INSTALL_EXTENSION_UPGRADES@" = xyes; then \
+			$(MAKE) install-extension-upgrades-from-known-versions; \
+		else \
+			echo; \
+			echo "PostGIS extensions installed, upgrade scripts retained."; \
+			echo; \
+			echo "You may use the "postgis" script to only install the ones you need, or";\
+			echo "you can install the ones required to upgrade from currently known versions with:"; \
+			echo; \
+			echo "  make install-extension-upgrades-from-known-versions"; \
+			echo; \
+		fi; \
 	fi
-else
-	@if test x"$@" = xinstall; then \
-		echo; \
-		echo "PostGIS extensions installed, upgrade scripts retained."; \
-		echo; \
-		echo "You may use the "postgis" script to only install the ones you need, or";\
-		echo "you can install the ones required to upgrade from currently known versions with:"; \
-		echo; \
-		echo "  make install-extension-upgrades-from-known-versions"; \
-		echo; \
-	fi
-endif
 endif
 
 ifneq (@EXTENSIONS@,)

-----------------------------------------------------------------------

Summary of changes:
 GNUmakefile.in | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list