[GRASS-dev] [GRASS GIS] #3735: WinGRASS: g.extension does not remove the .bat file

GRASS GIS trac at osgeo.org
Sat Jan 19 15:09:30 PST 2019


#3735: WinGRASS: g.extension does not remove the .bat file
------------------------------+-------------------------
 Reporter:  Nikos Alexandris  |      Owner:  grass-dev@…
     Type:  defect            |     Status:  new
 Priority:  normal            |  Milestone:
Component:  Default           |    Version:  unspecified
 Keywords:                    |        CPU:  Unspecified
 Platform:  MSWindows         |
------------------------------+-------------------------
 When using `g.extension` and performing an "un-installation" of an
 installed add-on, the respective `.bat` file is not removed.

 For example, using the GUI under '''Settings''' > '''Addons extensions'''
 > '''Install extensions from addons''' the command that is executed is:


 {{{
 g.extension extension=r.estimap.recreation url=
 Downloading precompiled GRASS Addons <r.estimap.recreation>...
 Updating addons metadata file...
 Installation of <r.estimap.recreation> successfully finished
 }}}

 This installs the selected add-on in to
  `C:\Users\nik\AppData\Roaming\GRASS7\addons\bin`
 and `C:\Users\nik\AppData\Roaming\GRASS7\addons\scripts`.

 Using the GUI to uninstall the add-on, removes only the Python script
 under
  `C:\Users\nik\AppData\Roaming\GRASS7\addons\scripts`.

 The `.bat` file under
   `C:\Users\nik\AppData\Roaming\GRASS7\addons\bin\`
 remains untouched.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3735>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list