~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to gui/tcltk/d.m/d.m

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
#% Module
3
 
#%  description: Display manager for GRASS
4
 
#% End
5
 
#%option
6
 
#% key: dmrc
7
 
#% type: string
8
 
#% description: Name of .dmrc settings file
9
 
#% required : no
10
 
#%End
11
 
 
12
 
 
13
 
# fixme: $HOSTTYPE is a bashism
14
 
if [ $# -eq 0 ] ; then
15
 
        if [ "$HOSTTYPE" = "macintosh" -o "$HOSTTYPE" = "powermac" -o "$HOSTTYPE" = "powerpc" -o "$HOSTTYPE" = "intel-pc" ] ; then
16
 
                exec "$GRASS_WISH" $GISBASE/etc/dm/d.m.tcl -name d_m_tcl
17
 
        else
18
 
                exec "$GRASS_WISH" $GISBASE/etc/dm/d.m.tcl -name d_m_tcl sh &
19
 
        fi
20
 
        exit 0
21
 
fi
22
 
 
23
 
if [ "$1" != "@ARGS_PARSED@" ] ; then
24
 
  exec g.parser "$0" "$@"
25
 
fi
26
 
 
27
 
exec "$GRASS_WISH" "$GISBASE/etc/dm/d.m.tcl" -name d_m_tcl "$GIS_OPT_DMRC" sh &