[DebianGIS-dev] CVS Update: musmap/debian packages.config

mparent-guest at haydn.debian.org mparent-guest at haydn.debian.org
Mon Jan 16 21:56:59 UTC 2006


  User: mparent-guest
  Date: 06/01/16 21:56:59

  Modified:    debian   packages.config
  Log:
  sh compatibility
  
  Revision  Changes    Path
  1.3       +8 -8      musmap/debian/packages.config
  
  CVSWEB Options: -------------------
  
  CVSWeb: Annotate this file:            http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/debian/packages.config?annotate=1.3&cvsroot=
  
  CVSWeb: View this file:             http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/debian/packages.config?rev=1.3&content-type=text/x-cvsweb-markup&cvsroot=
  
  CVSWeb: Diff to previous version:   http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/debian/packages.config.diff?r1=1.3&r2=1.2&cvsroot=
  
  -----------------------------------
  
  Index: packages.config
  ===================================================================
  RCS file: /cvsroot/pkg-grass/musmap/debian/packages.config,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- packages.config	15 Jan 2006 22:57:44 -0000	1.2
  +++ packages.config	16 Jan 2006 21:56:58 -0000	1.3
  @@ -68,7 +68,7 @@
               dbadminpassword="$RET"
               db_get musmap/dbcreate
               dbcreate="$RET"
  -            if test $dbcreate == true ; then
  +            if test $dbcreate = true ; then
                   # [[Warning]] insecure method to send password
                   DBS=`mysql --host="$dbhost" --user="$dbadminuser" --password="$dbadminpassword" --skip-column-names --no-pager --exec="SHOW DATABASES LIKE '$dbname'"`
                   if test "$?" != "0"; then
  @@ -77,7 +77,7 @@
                     db_input medium musmap/gofirst || true
                     db_endblock
                   else
  -                  if test "$DBS" == "" ; then
  +                  if test "$DBS" = "" ; then
                       mysql --host="$dbhost" --user="$dbadminuser" --password="$dbadminpassword" --exec="CREATE DATABASE \`$dbname\`;"
                       mysql --host="$dbhost" --user="$dbadminuser" --password="$dbadminpassword" --exec="GRANT ALL ON \`$dbname\`.* TO '$dbuser' IDENTIFIED BY '$dbpassword';"
                     fi
  @@ -96,8 +96,8 @@
               dbname="$RET"
               db_get musmap/dbcreate
               dbcreate="$RET"
  -            if test $dbcreate == true ; then
  -                if test "dbhost" == ""; then
  +            if test $dbcreate = true ; then
  +                if test "dbhost" = ""; then
                       DBS=`su postgres "psql --port='$dbport' --list -t -A | grep '^$dbname|'"`
                       if test "$?" != "0"; then
                         db_beginblock
  @@ -105,7 +105,7 @@
                         db_input medium musmap/gofirst || true
                         db_endblock
                       else
  -                      if test "$DBS" == "" ; then
  +                      if test "$DBS" = "" ; then
                           su postgres "createuser --port="$dbport" -e -A -D '$dbuser';"
                           su postgres "createdb   --port="$dbport" -e -O '$dbuser' '$dbname';"
                         fi
  @@ -119,7 +119,7 @@
               dbfilename="$RET"
               db_get musmap/dbcreate
               dbcreate="$RET"
  -            if test $dbcreate == true ; then
  +            if test $dbcreate = true ; then
                   mkdir -p -v `dirname "$dbfilename"`
                   #sqlite "$dbfilename" ";" # done by php_-sqlite
                   chown -R www-data:www-data `dirname "$dbfilename"`
  @@ -143,9 +143,9 @@
       dbgo="$?"
       db_get musmap/gofirst
       gofirst="$RET"
  -    if test $gofirst == true; then
  +    if test $gofirst = true; then
         STEP=1
  -    elif test "$dbgo" == "30"; then
  +    elif test "$dbgo" = "30"; then
           STEP=$(($STEP - 1))
       else
           STEP=$(($STEP + 1))
  
  
  



More information about the Pkg-grass-devel mailing list