Browse Source

g.extension: do not require -s flag for wxGUI extensions

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@61599 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 years ago
parent
commit
8bf4f29f92
1 changed files with 1 additions and 3 deletions
  1. 1 3
      scripts/g.extension/g.extension.py

+ 1 - 3
scripts/g.extension/g.extension.py

@@ -728,9 +728,7 @@ def install_extension_other(name):
     classchar = name.split('.', 1)[0]
     moduleclass = expand_module_class_name(classchar)
     url = options['svnurl'] + '/' + moduleclass + '/' + name
-    if classchar == 'wx' and not flags['s']:
-        grass.fatal(_("Installation of wxGUI extension requires -%s flag.") % 's')
-
+    
     grass.message(_("Fetching <%s> from GRASS-Addons SVN (be patient)...") % name)
 
     os.chdir(TMPDIR)