[GRASS-SVN] r65399 - grass/trunk/scripts/g.extension

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 7 04:35:14 PDT 2015


Author: martinl
Date: 2015-06-07 04:35:14 -0700 (Sun, 07 Jun 2015)
New Revision: 65399

Modified:
   grass/trunk/scripts/g.extension/g.extension.py
Log:
g.extension: wording (su or sudo)

Modified: grass/trunk/scripts/g.extension/g.extension.py
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.py	2015-06-07 11:30:08 UTC (rev 65398)
+++ grass/trunk/scripts/g.extension/g.extension.py	2015-06-07 11:35:14 UTC (rev 65399)
@@ -1045,8 +1045,8 @@
 
     if not os.access(options['prefix'], os.W_OK):
         grass.fatal(_("You don't have permission to install extension to <{}>. "
-                      "Try to run {} as administrator "
-                      "(or as sudo).").format(options['prefix'], 'g.extension'))
+                      "Try to run {} with administrator rights"
+                      "(su or sudo).").format(options['prefix'], 'g.extension'))
 
     if 'svn.osgeo.org/grass/grass-addons/grass7' in options['svnurl']:
         # use pregenerated modules XML file



More information about the grass-commit mailing list