#!/bin/sh
#
# This routine makes the appropriately configured
#  Bacula tables for PostgreSQL, MySQL, or SQLite.
#
if test xsqlite = xsqlite3 -o xsqlite3 = xsqlite3 ; then
  echo "Making SQLite tables"
  /usr/local/libexec/bacula/make_sqlite3_tables $*
else
  if test xmysql = xsqlite3 ; then 
    echo "Making MySQL tables"
    /usr/local/libexec/bacula/make_mysql_tables $*
  else
    echo "Making PostgreSQL tables"
    /usr/local/libexec/bacula/make_postgresql_tables $*
  fi
fi
