]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/cats/create_bacula_database.in
Change old get_Jobxxx to getJobxxx
[bacula/bacula] / bacula / src / cats / create_bacula_database.in
index 6a3775f823d4219cd65a4a142c4fdd98d7287b13..4db10bfe7dd265f0d91c8514a7149add467a2429 100644 (file)
@@ -3,11 +3,11 @@
 # This routine creates the Bacula database
 #  using PostgreSQL, MySQL, or SQLite.
 #
-if test xsqlite = x@DB_NAME@ -o xsqlite3 = x@DB_NAME@ ; then
+if test xsqlite3 = x@DB_TYPE@ ; then
   echo "Creating SQLite database"
-  @scriptdir@/create_@DB_NAME@_database $*
+  @scriptdir@/create_@DB_TYPE@_database
 else
-  if test xmysql = x@DB_NAME@ ; then
+  if test xmysql = x@DB_TYPE@ ; then
     echo "Creating MySQL database"
     @scriptdir@/create_mysql_database $*
   else