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