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