X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fmake_bacula_tables.in;h=a71462d2308e5b6163160b2632d12835a2b1911f;hb=f8f848fdb5aace95292d905dc60fe0de45521859;hp=0195bb00ba424b44d2af05a7e4cb256e1608717d;hpb=e6faa15c99c45a5aed56b592f483149404d63855;p=bacula%2Fbacula diff --git a/bacula/src/cats/make_bacula_tables.in b/bacula/src/cats/make_bacula_tables.in index 0195bb00ba..a71462d230 100755 --- a/bacula/src/cats/make_bacula_tables.in +++ b/bacula/src/cats/make_bacula_tables.in @@ -1,17 +1,17 @@ #!/bin/sh # # This routine makes the appropriately configured -# Bacula tables for either MySQL or SQLite +# Bacula tables for PostgreSQL, MySQL, or SQLite. # -if test xsqlite = x@DB_NAME@ ; then +if test xsqlite = x@DB_NAME@ -o xsqlite3 = x@DB_NAME@ ; then echo "Making SQLite tables" - . ./make_sqlite_tables + @scriptdir@/make_@DB_NAME@_tables $* else if test xmysql = x@DB_NAME@ ; then echo "Making MySQL tables" - . ./make_mysql_tables + @scriptdir@/make_mysql_tables $* else echo "Making PostgreSQL tables" - . ./make_postgresql_tables + @scriptdir@/make_postgresql_tables $* fi fi