Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 2c0937ecfdfb33d3a70bdb0d2e83cb5c > files > 61

bacula-dir-9.4.2-4.mga7.armv7hl.rpm

#!/bin/sh
#
# This routine alters the appropriately configured
#  Bacula tables for PostgreSQL, MySQL, or SQLite.
#
if test xsqlite = xpostgresql -o xsqlite3 = xpostgresql ; then
  echo "Altering SQLite tables"
  /etc/bacula/update_postgresql_tables $*
fi
if test xmysql = xpostgresql ; then
  echo "Altering MySQL tables"
  /etc/bacula/update_mysql_tables $*
fi
if test xpostgresql = xpostgresql ; then
  echo "Altering PostgreSQL tables"
  /etc/bacula/update_postgresql_tables $*
fi