[Osgeo4w-trac] Re: [osgeo4w] #271: apt doesn't run preremove batch files

OSGeo4W trac_osgeo4w at osgeo.org
Wed Feb 22 17:06:19 EST 2012


#271: apt doesn't run preremove batch files
-------------------+--------------------------------------------------------
Reporter:  jef     |       Owner:  maphew  
    Type:  defect  |      Status:  assigned
Priority:  major   |   Component:  Package 
 Version:          |    Keywords:  apt     
-------------------+--------------------------------------------------------
Changes (by maphew):

  * owner:  osgeo4w-dev@… => maphew
  * status:  new => assigned


Comment:

 you right, it doesn't; this is the first time I've heard of
 `etc/preremove` ;-)
 The only mention on trac aside from this issue is #47.

 (reads, studies) Ahh, ok. It's for removing shortcuts and other files
 created during install and are not located inside the package archive.

 Not knowing about preremove I'd handled the same problem in apt by parsing
 `postinstall\*.bat` for `xxmklink` and adding the created files into the
 installed files manifest (`etc/setup/pkg-name.lst.gz`) so they're
 automatically removed by the uninstall routine. (see `def get_menu_links`)

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/271#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the Osgeo4w-trac mailing list