X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fplatforms%2Fredhat%2Fbacula.spec;h=20e579595d29f7eb68e3c950d3f96fe503048e77;hb=40cd9bf6552e7f82e316f249d3bd8534bdac819a;hp=25f1fa30d2ad770a13957be33fa5b99164b6c93a;hpb=76c0b6ee126faef00af71f39341a24f142c6f5e7;p=bacula%2Fbacula 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