]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/cats/drop_bacula_database.in
Fix bug in bvfs_update function, should work much better now
[bacula/bacula] / bacula / src / cats / drop_bacula_database.in
1 #!/bin/sh
2 #
3 #  Drop Bacula database -- works for whatever is configured,
4 #    MySQL, SQLite, PostgreSQL, Ingres
5 #
6 if test xsqlite3 = x@DB_TYPE@ ; then
7   @scriptdir@/drop_@DB_TYPE@_database $*
8 else
9   if test xmysql = x@DB_TYPE@ ; then 
10     echo "Making MySQL database"
11     @scriptdir@/drop_mysql_database $*
12   elif test xingres = x@DB_TYPE@ ; then
13     echo "Dropping Ingres database"
14     @scriptdir@/drop_ingres_database $*
15   else
16     @scriptdir@/drop_postgresql_database $*
17   fi
18 fi