#!/bin/sh
#
# This routine makes the appropriately configured
#  Bacula tables for PostgreSQL, MySQL, or SQLite.
#
if test xsqlite = x@DB_TYPE@ -o xsqlite3 = x@DB_TYPE@ ; then
  echo "Making SQLite tables"
  @scriptdir@/make_@DB_TYPE@_tables $*
else
  if test xmysql = x@DB_TYPE@ ; then 
    echo "Making MySQL tables"
    @scriptdir@/make_mysql_tables $*
  else
    echo "Making PostgreSQL tables"
    @scriptdir@/make_postgresql_tables $*
  fi
fi


syntax highlighted by Code2HTML, v. 0.9.1