From 40cd9bf6552e7f82e316f249d3bd8534bdac819a Mon Sep 17 00:00:00 2001 From: Scott Barninger Date: Sun, 7 Feb 2010 14:42:50 -0500 Subject: [PATCH] Fix Mysql database upgrade. --- bacula/platforms/redhat/bacula.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bacula/platforms/redhat/bacula.spec b/bacula/platforms/redhat/bacula.spec index 25f1fa30d2..20e579595d 100644 --- a/bacula/platforms/redhat/bacula.spec +++ b/bacula/platforms/redhat/bacula.spec @@ -1218,7 +1218,7 @@ if [ -z "$DB_VER" ]; then %{script_dir}/make_mysql_tables # check to see if we need to upgrade a 3.x database -elif [ "$DB_VER" -lt "11" ]; then +elif [ "$DB_VER" -lt "12" ]; then echo "This release requires an upgrade to your bacula database." echo "Backing up your current database..." mysqldump -f --opt bacula | bzip2 > %{working_dir}/bacula_backup.sql.bz2 @@ -1449,6 +1449,8 @@ echo "The database update scripts were installed to %{script_dir}/updatedb" %endif %changelog +* Sun Feb 07 2010 D. Scott Barninger +- fix mysql database upgrade * Fri Feb 05 2010 D. Scott Barninger - fix permissions of dbcheck - misc. cleanup -- 2.39.5