#!/bin/sh
#
#  Drop Bacula database -- works for whatever is configured,
#    MySQL, SQLite, PostgreSQL
#
if test xsqlite = xsqlite -o xsqlite3 = xsqlite ; then
  /usr/local/share/bacula/drop_sqlite_database $*
else
  if test xmysql = xsqlite ; then 
    echo "Making MySQL database"
    /usr/local/share/bacula/drop_mysql_database $*
  else
    /usr/local/share/bacula/drop_postgresql_database $*
  fi
fi
