X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fcreate_bacula_database.in;h=6a3775f823d4219cd65a4a142c4fdd98d7287b13;hb=3fafb59fab85aa9f770790733be3afde4f34b71f;hp=36be4582b0da0c79c03b5423d14cfe141a249a96;hpb=18fa28978e3764058204e90839d5376a42de914a;p=bacula%2Fbacula diff --git a/bacula/src/cats/create_bacula_database.in b/bacula/src/cats/create_bacula_database.in index 36be4582b0..6a3775f823 100644 --- a/bacula/src/cats/create_bacula_database.in +++ b/bacula/src/cats/create_bacula_database.in @@ -3,15 +3,15 @@ # This routine creates the Bacula database # using PostgreSQL, MySQL, or SQLite. # -if test xsqlite = x@DB_NAME@ ; then +if test xsqlite = x@DB_NAME@ -o xsqlite3 = x@DB_NAME@ ; then echo "Creating SQLite database" - . ./create_sqlite_database + @scriptdir@/create_@DB_NAME@_database $* else if test xmysql = x@DB_NAME@ ; then echo "Creating MySQL database" - . ./create_mysql_database + @scriptdir@/create_mysql_database $* else echo "Creating PostgreSQL database" - . ./create_postgresql_database + @scriptdir@/create_postgresql_database $* fi fi