[GRASS-SVN] r45982 - grass-addons/grass7/display/d.mon

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 14 19:03:02 EDT 2011


Author: hamish
Date: 2011-04-14 16:03:02 -0700 (Thu, 14 Apr 2011)
New Revision: 45982

Modified:
   grass-addons/grass7/display/d.mon/d.mon.html
Log:
only create alias if using grass7

Modified: grass-addons/grass7/display/d.mon/d.mon.html
===================================================================
--- grass-addons/grass7/display/d.mon/d.mon.html	2011-04-14 21:49:54 UTC (rev 45981)
+++ grass-addons/grass7/display/d.mon/d.mon.html	2011-04-14 23:03:02 UTC (rev 45982)
@@ -6,7 +6,9 @@
 
 Add this to your ~/.grass.bashrc file:
 <pre>
-  alias d.mon7='eval `d.mon.py -b`'
+  if [ `echo "$GRASS_VERSION" | cut -f1 -d.` -eq 7 ] ; then
+     alias d.mon='eval `d.mon.py -b`'
+  fi
 </pre>
 
 



More information about the grass-commit mailing list