[DebianGIS-dev] Bug#418833: grass: Init.sh is broken

Didrik Pinte dpinte at itae.be
Thu Apr 12 08:43:37 UTC 2007


Package: grass
Version: 6.2.1-2
Severity: grave
Tags: patch
Justification: renders package unusable


Current version of Init.sh is broken because of a bash error (using elif in
place of else).

See the attached patch to correct the problem


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grass depends on:
ii  eterm [x-terminal-emula 0.9.4.0debian1-2 Enlightened Terminal Emulator
ii  fftw3                   3.1.2-1          library for computing Fast Fourier
ii  gnome-terminal [x-termi 2.14.2-2         The GNOME 2 terminal emulator appl
ii  lesstif2                1:0.94.4-2       OSF/Motif 2.1 implementation relea
ii  libc6                   2.3.6.ds1-13     GNU C Library: Shared libraries
ii  libfreetype6            2.2.1-5          FreeType 2 font engine, shared lib
ii  libgcc1                 1:4.1.1-21       GCC support library
ii  libgdal1-1.4.0          1.4.0-2          Geospatial Data Abstraction Librar
ii  libgl1-mesa-glx [libgl1 6.5.1-0.6        A free implementation of the OpenG
ii  libglu1-mesa [libglu1]  6.5.1-0.6        The OpenGL utility library (GLU)
ii  libice6                 1:1.0.3-2        X11 Inter-Client Exchange library
ii  libmysqlclient15off     5.0.38-1         mysql database client library
ii  libncurses5             5.5-5            Shared libraries for terminal hand
ii  libpng12-0              1.2.15~beta5-1   PNG library - runtime
ii  libpq4                  8.1.8-1          PostgreSQL C client library
ii  libreadline5            5.2-2            GNU readline and history libraries
ii  libsm6                  1:1.0.2-2        X11 Session Management library
ii  libstdc++6              4.1.1-21         The GNU Standard C++ Library v3
ii  libtiff4                3.8.2-7          Tag Image File Format (TIFF) libra
ii  libx11-6                2:1.0.3-7        X11 client-side library
ii  libxext6                1:1.0.3-2        X11 miscellaneous extension librar
ii  libxmu6                 1:1.0.2-2        X11 miscellaneous utility library
ii  libxt6                  1:1.0.5-2        X11 toolkit intrinsics library
ii  proj                    4.5.0-2          Cartographic projection filter and
ii  tcl8.4                  8.4.12-1.1       Tcl (the Tool Command Language) v8
ii  tk8.4                   8.4.12-1         Tk toolkit for Tcl and X11, v8.4 -
ii  unixodbc                2.2.11-13        ODBC tools libraries
ii  xterm [x-terminal-emula 225-1            X terminal emulator
ii  zlib1g                  1:1.2.3-13       compression library - runtime

grass recommends no packages.

-- no debconf information
-------------- next part --------------
--- /tmp/Init.sh	2007-04-12 10:36:56.000000000 +0200
+++ /usr/lib/grass/etc/Init.sh	2007-04-12 10:37:05.000000000 +0200
@@ -232,7 +232,7 @@
 if [ ! "$GRASS_HTML_BROWSER" ] ; then
 	if [ -x /usr/bin/x-www-browser ] ; then
 		GRASS_HTML_BROWSER=x-www-browser
-	elif 
+	else 
 		GRASS_HTML_BROWSER=true
 	fi
 fi


More information about the Pkg-grass-devel mailing list