[GRASS-dev] g.extension.add available to install GRASS Addons SVN modules (GEM replacement)

Markus Neteler neteler at osgeo.org
Thu Jul 30 15:59:48 EDT 2009


On Mon, Jul 6, 2009 at 12:11 AM, Glynn Clements<glynn at gclements.plus.com> wrote:
> William Kyngesburye wrote:
...
>> The OSX app has a user modules dir that wouldn't need sudo.
>> g.extension.add should support at least support an arbitrary install
>> location.  Maybe: prefix=
>
> Installing extensions via the GUI should install them for an
> individual user, not system-wide.
>
> System-wide installations should always be done via the OS' own
> package management system: RPM, apt-get, portage, etc.

Fine with that but the GRASS 7 version currently defines:

g.extension -h
     prefix   Prefix where to install extension
                default: $(HOME)/.grass/addons

I guess that this is an oversight and should be
                default: $(HOME)/.grass7/addons
?

Additionally: to fully make sense, shouldn't this directory be the default
value for the variable
GRASS_ADDON_PATH

in
lib/init/functions.sh
lib/init/grass.py
lib/init/init.bat

?

Markus


More information about the grass-dev mailing list