]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/cats/drop_bacula_database.in
Correct compile error
[bacula/bacula] / bacula / src / cats / drop_bacula_database.in
index cdc02fa4dbddd51994c7576162c27f4be6ae73ce..89dd7c8c887f16c8fa677a59080579082372a2b0 100755 (executable)
@@ -3,10 +3,10 @@
 #  Drop Bacula database -- works for whatever is configured,
 #    MySQL, SQLite, PostgreSQL
 #
-if test xsqlite = x@DB_NAME@ ; then
-  @scriptdir@/drop_sqlite_database $*
+if test xsqlite = x@DB_TYPE@ -o xsqlite3 = x@DB_TYPE@ ; then
+  @scriptdir@/drop_@DB_TYPE@_database $*
 else
-  if test xmysql = x@DB_NAME@ ; then 
+  if test xmysql = x@DB_TYPE@ ; then 
     echo "Making MySQL database"
     @scriptdir@/drop_mysql_database $*
   else