X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fdrop_bacula_database.in;h=d542af0c3a0ff6f82ad5dc8b7648311374991bcc;hb=9227caa021ac3d1c4f2f1e1ad1a7985ecb3cc268;hp=d927621f2bbc623a8acca86791e9d64bdf3cd951;hpb=01205302fd5ed8b397924aadd42249dc959db2dc;p=bacula%2Fbacula diff --git a/bacula/src/cats/drop_bacula_database.in b/bacula/src/cats/drop_bacula_database.in index d927621f2b..d542af0c3a 100755 --- a/bacula/src/cats/drop_bacula_database.in +++ b/bacula/src/cats/drop_bacula_database.in @@ -1,14 +1,17 @@ #!/bin/sh # # Drop Bacula database -- works for whatever is configured, -# MySQL, SQLite, PostgreSQL +# MySQL, SQLite, PostgreSQL, Ingres # -if test xsqlite = x@DB_TYPE@ -o xsqlite3 = x@DB_TYPE@ ; then +if test xsqlite3 = x@DB_TYPE@ ; then @scriptdir@/drop_@DB_TYPE@_database $* else if test xmysql = x@DB_TYPE@ ; then - echo "Dropping MySQL database" + echo "Making MySQL database" @scriptdir@/drop_mysql_database $* + elif test xingres = x@DB_TYPE@ ; then + echo "Dropping Ingres database" + @scriptdir@/drop_ingres_database $* else @scriptdir@/drop_postgresql_database $* fi