소스 검색

start script: cosmetics for https://trac.osgeo.org/grass/changeset/60146

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60147 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 11 년 전
부모
커밋
e963f217e5
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      lib/init/grass.py

+ 5 - 2
lib/init/grass.py

@@ -987,7 +987,7 @@ def clear_screen():
     # TODO: uncomment when PDCurses works.
     #   cls
     else:
-        if not os.getenv('GRASS_BATCH_JOB') and not grass_debug:
+        if not os.getenv('GRASS_BATCH_JOB') and not grass_debug and not exit_grass:
             call(["tput", "clear"])
 
 
@@ -1380,7 +1380,10 @@ if not os.access(gisrc, os.F_OK):
 else:
     clean_temp()
 
-message(_("Starting GRASS GIS..."))
+if create_new:
+    message(_("Creating new GRASS GIS location/mapset..."))
+else:
+    message(_("Starting GRASS GIS..."))
 
 # Check that the GUI works
 check_gui()