#!/usr/bin/perl

UPDATEDIR="/usr/share/jffnms/sql/update";
VERSION="0.1";
JFFNMSDB=`grep db_type

usage()
{
	cat <<EOF
update-jffnms $VERSION.
Copyright (C) 2003 Craig Small
This is free software; see the GNU General Public Licence
version 2 or later for copying conditions.  There is NO warranty.

Usage: update-jffnms <oldver> <newver>
EOF
}

if [ -z $1 -o -z $2 ]; then
  usage
fi

OLD=$1
NEW=$2

if [ $OLD == "0.7.1" -a $NEW == "0.7.2"] ; then

