瀏覽代碼

startup: cleanup of https://trac.osgeo.org/grass/changeset/64408

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64418 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 10 年之前
父節點
當前提交
d8c76e6c28
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      lib/init/grass.py

+ 5 - 5
lib/init/grass.py

@@ -1377,11 +1377,11 @@ if os.getenv('HOSTTYPE') == 'arm':
 # First time user - GISRC is defined in the GRASS script
 if not os.access(gisrc, os.F_OK):
     if grass_gui == 'text' and len(args) == 0:
-        fatal(_("Unable to start GRASS. You can:\n"
-                " - Launch GRASS with '-gui' switch (`grass71 -gui`)\n"
-                " - Create manually GISRC file (%s)\n"
-                " - Launch GRASS with path to "
-                "the location/mapset as an argument (`grass71 /path/to/location/mapset`)") % gisrcrc)
+        fatal(_("Unable to start GRASS GIS. You have the choice to:\n"
+                " - Launch the GRASS GIS interface with the '-gui' switch (`%s -gui`)\n"
+                " - Launch GRASS GIS directly with path to "
+                "the location/mapset as an argument (`%s /path/to/location/mapset`)\n"
+                " - Create manually the GISRC file (%s)") % (cmd_name, cmd_name, gisrcrc))
     create_initial_gisrc()
 else:
     clean_temp()