#!/bin/sh
#
# This routine creates the Bacula database
#  using PostgreSQL, MySQL, or SQLite.
#
if test xsqlite = x@DB_TYPE@ -o xsqlite3 = x@DB_TYPE@ ; then
  echo "Creating SQLite database"
  @scriptdir@/create_@DB_TYPE@_database
else
  if test xmysql = x@DB_TYPE@ ; then
    echo "Creating MySQL database"
    @scriptdir@/create_mysql_database $*
  else
    echo "Creating PostgreSQL database"
    @scriptdir@/create_postgresql_database $*
  fi
fi


syntax highlighted by Code2HTML, v. 0.9.1