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

« back to all changes in this revision

Viewing changes to gui/tcltk/d.m/script/r.support.sh

  • 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
 
#
3
 
############################################################################
4
 
#
5
 
# MODULE:       r.support.sh for GRASS 5.7
6
 
# AUTHOR(S):    Michael Barton; 
7
 
# PURPOSE:      Runs r.support from GIS Manager GUI
8
 
# COPYRIGHT:    (C) 2004 by the GRASS Development Team
9
 
#
10
 
#               This program is free software under the GNU General Public
11
 
#               License (>=v2). Read the file COPYING that comes with GRASS
12
 
#               for details.
13
 
#
14
 
#############################################################################
15
 
 
16
 
 
17
 
#%Module
18
 
#%  description: r.support.sh - Manage raster support files (header, statistics, categories, colors, history, nulls)
19
 
#%End
20
 
#%option
21
 
#% key: input
22
 
#% type: string
23
 
#% gisprompt: old,cell,raster
24
 
#% description: Name of raster map for color management
25
 
#% required : yes
26
 
#%end
27
 
 
28
 
 
29
 
if  [ -z "$GISBASE" ] ; then
30
 
 echo "You must be in GRASS GIS to run this program."
31
 
 exit 1
32
 
fi   
33
 
 
34
 
if [ "$1" != "@ARGS_PARSED@" ] ; then
35
 
  exec g.parser "$0" "$@"
36
 
fi
37
 
 
38
 
eval `exec "$GISBASE/etc/grass-xterm-wrapper" -e r.support map=$GIS_OPT_INPUT`