[GRASS-SVN] r53492 - grass/branches/develbranch_6/gui/scripts

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Oct 19 04:17:47 PDT 2012


Author: martinl
Date: 2012-10-19 04:17:46 -0700 (Fri, 19 Oct 2012)
New Revision: 53492

Modified:
   grass/branches/develbranch_6/gui/scripts/g.extension.py
Log:
g.extension.py: wingrass url cosmetics


Modified: grass/branches/develbranch_6/gui/scripts/g.extension.py
===================================================================
--- grass/branches/develbranch_6/gui/scripts/g.extension.py	2012-10-19 11:07:18 UTC (rev 53491)
+++ grass/branches/develbranch_6/gui/scripts/g.extension.py	2012-10-19 11:17:46 UTC (rev 53492)
@@ -446,6 +446,8 @@
     version = grass.version()['version'].split('.')
     grass.message(_("Downloading precompiled GRASS Addons <%s>...") % options['extension'])
     url = "http://wingrass.fsv.cvut.cz/grass%s%s/addons" % (version[0], version[1])
+    if version[0] == '6' and version[1] == '4':
+        url += '/grass-%s.%s.%s' % (version[0], version[1], version[2])
     grass.debug("url=%s" % url, 1)
     
     try:



More information about the grass-commit mailing list