]> git.sur5r.net Git - bacula/bacula/blob - bacula/updatedb/update_bacula_tables_8_to_9
Try to fix bug #2349 multiple recycle messages
[bacula/bacula] / bacula / updatedb / update_bacula_tables_8_to_9
1 #!/bin/sh
2 #
3 # This routine alters the appropriately configured
4 #  Bacula tables for PostgreSQL, MySQL, or SQLite.
5 #
6 if test xsqlite = xpostgresql -o xsqlite3 = xpostgresql ; then
7   echo "Altering SQLite tables"
8   /etc/bacula/update_postgresql_tables $*
9 fi
10 if test xmysql = xpostgresql ; then
11   echo "Altering MySQL tables"
12   /etc/bacula/update_mysql_tables $*
13 fi
14 if test xpostgresql = xpostgresql ; then
15   echo "Altering PostgreSQL tables"
16   /etc/bacula/update_postgresql_tables $*
17 fi