#!/bin/sh
#
#  Drop Bacula database -- works for whatever is configured,
#    MySQL, SQLite, PostgreSQL
#
if test xsqlite = x@DB_TYPE@ -o xsqlite3 = x@DB_TYPE@ ; then
  @scriptdir@/drop_@DB_TYPE@_database $*
else
  if test xmysql = x@DB_TYPE@ ; then 
    echo "Making MySQL database"
    @scriptdir@/drop_mysql_database $*
  else
    @scriptdir@/drop_postgresql_database $*
  fi
fi


syntax highlighted by Code2HTML, v. 0.9.1