]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/cats/drop_bacula_database.in
ebl fix escape bug
[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
5 #
6 if test xsqlite = x@DB_TYPE@ -o 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   else
13     @scriptdir@/drop_postgresql_database $*
14   fi
15 fi