]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/cats/create_bacula_database.in
numornull becomes edit_num_or_null
[bacula/bacula] / bacula / src / cats / create_bacula_database.in
1 #!/bin/sh
2 #
3 # This routine creates the Bacula database
4 #  using PostgreSQL, MySQL, or SQLite.
5 #
6 if test xsqlite = x@DB_NAME@ ; then
7   echo "Creating SQLite database"
8   . ./create_sqlite_database
9 else
10   if test xmysql = x@DB_NAME@ ; then
11     echo "Creating MySQL database"
12     . ./create_mysql_database
13   else
14     echo "Creating PostgreSQL database"
15     . ./create_postgresql_database
16   fi
17 fi