]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/cats/make_bacula_tables.in
whitespace changes
[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_NAME@ ; then
7   echo "Making SQLite tables"
8   @scriptdir@/make_sqlite_tables
9 else
10   if test xmysql = x@DB_NAME@ ; then 
11     echo "Making MySQL tables"
12     @scriptdir@/make_mysql_tables $*
13   else
14     echo "Making PostgreSQL tables"
15     # hard coded database name
16     @scriptdir@/make_postgresql_tables bacula
17   fi
18 fi