]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/cats/create_bacula_database.in
kes Apply patch supplied in bug #656 to pass priority field
[bacula/bacula] / bacula / src / cats / create_bacula_database.in
index 57123c07d6a667cdd3238eba383d7ada88907741..7ee767b133fb6ded05e9289d07d1d6ee9ce70df3 100644 (file)
@@ -3,9 +3,9 @@
 # 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"
-  @scriptdir@/create_sqlite_database $*
+  @scriptdir@/create_@DB_NAME@_database
 else
   if test xmysql = x@DB_NAME@ ; then
     echo "Creating MySQL database"