]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/cats/grant_bacula_privileges.in
Remove bad index tips on mysql creation script
[bacula/bacula] / bacula / src / cats / grant_bacula_privileges.in
1 #!/bin/sh
2 #
3 # This routine makes the appropriately configured
4 #  Bacula tables for PostgreSQL or MySQL.
5 # SQLite does not have permissions.
6 #
7 if test xmysql = x@DB_TYPE@ ; then 
8   echo "Granting MySQL privileges"
9   @scriptdir@/grant_mysql_privileges $*
10 else
11   if test xpostgresql = x@DB_TYPE@ ; then 
12     echo "Granting PostgreSQL privileges"
13     @scriptdir@/grant_postgresql_privileges $*
14   elif test xingres = x@DB_TYPE@ ; then
15     echo "Granting Ingres privileges"
16     @scriptdir@/grant_ingres_privileges $*
17   else
18     if test xsqlite3 = x@DB_TYPE@ ; then 
19       echo "Granting SQLite privileges"
20       @scriptdir@/grant_@DB_TYPE@_privileges $*
21     fi
22   fi
23 fi