]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/cats/make_bacula_tables.in
Merge branch 'master' of ssh://bacula.git.sourceforge.net/gitroot/bacula/bacula
[bacula/bacula] / bacula / src / cats / make_bacula_tables.in
1 #!/bin/sh
2 #
3 # This routine makes the appropriately configured
4 #  Bacula tables for PostgreSQL, MySQL, or SQLite.
5 #
6 if test xsqlite = x@DB_TYPE@ -o xsqlite3 = x@DB_TYPE@ ; then
7   echo "Making SQLite tables"
8   @scriptdir@/make_@DB_TYPE@_tables $*
9 else
10   if test xmysql = x@DB_TYPE@ ; then 
11     echo "Making MySQL tables"
12     @scriptdir@/make_mysql_tables $*
13   else
14     echo "Making PostgreSQL tables"
15     @scriptdir@/make_postgresql_tables $*
16   fi
17 fi