[postgis-tickets] [PostGIS] #5239: make uninstall uninstalls more than needed

PostGIS trac at osgeo.org
Wed Sep 14 07:09:29 PDT 2022


#5239: make uninstall uninstalls more than needed
------------------------------------+---------------------------
  Reporter:  strk                   |      Owner:  strk
      Type:  defect                 |     Status:  new
  Priority:  medium                 |  Milestone:  PostGIS 3.4.0
 Component:  build/upgrade/install  |    Version:  3.0.x
Resolution:                         |   Keywords:
------------------------------------+---------------------------
Comment (by strk):

 The behaviour I'm describing is due to this snippet in extensions/upgrade-
 path-rules.mk which is included by all extension Makefile.in files:
 {{{
 INSTALLED_UPGRADE_SCRIPTS = \
   $(wildcard $(EXTDIR)/*$(EXTVERSION).sql) \
   $(wildcard $(EXTDIR)/*$(EXTVERSION)next.sql) \
   $(NULL)

 uninstall-upgrade-paths:
   rm -f $(INSTALLED_UPGRADE_SCRIPTS)
 }}}

 Note there's no $(EXTENSION) being used, so any extension is removed
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5239#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list