From 7cddf2c56c77f96143f8488a8a8bfcf6e0796093 Mon Sep 17 00:00:00 2001 From: Laurent Papier Date: Sat, 9 Jul 2011 13:16:32 +0200 Subject: [PATCH] Fix typo in db upgrade scripts --- bacula/src/cats/update_mysql_tables.in | 4 ++-- bacula/src/cats/update_postgresql_tables.in | 6 +++--- bacula/src/cats/update_sqlite3_tables.in | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bacula/src/cats/update_mysql_tables.in b/bacula/src/cats/update_mysql_tables.in index 8893acf296..7a68eab2d1 100644 --- a/bacula/src/cats/update_mysql_tables.in +++ b/bacula/src/cats/update_mysql_tables.in @@ -4,7 +4,7 @@ # or Bacula Community version 5.0.x to 5.2.x # echo " " -echo "This script will update a Bacula MySQL database from version 12 to 13" +echo "This script will update a Bacula MySQL database from version 12 to 14" echo " which is needed to convert from Bacula Enterprise version 2.6.x to 6.0.x" echo " or Bacula Community version 5.0.x to 5.2.x" echo " " @@ -17,7 +17,7 @@ DBVERSION=`sed -n -e 's/^VersionId: \(.*\)$/\1/p' /tmp/$$` if [ $DBVERSION != 12 ] ; then echo " " echo "The existing database is version $DBVERSION !!" - echo "This script can only update an existing version 12 database to version 13." + echo "This script can only update an existing version 12 database to version 14." echo "Error. Cannot upgrade this database." echo " " exit 1 diff --git a/bacula/src/cats/update_postgresql_tables.in b/bacula/src/cats/update_postgresql_tables.in index e4809e0605..d500cee0e9 100644 --- a/bacula/src/cats/update_postgresql_tables.in +++ b/bacula/src/cats/update_postgresql_tables.in @@ -1,10 +1,10 @@ #!/bin/sh # -# Shell script to update PostgreSQL tables from version 12 to 13 +# Shell script to update PostgreSQL tables from version 12 to 14 # or Bacula Community version 5.0.x to 5.2.x # echo " " -echo "This script will update a Bacula PostgreSQL database from version 12 to 13" +echo "This script will update a Bacula PostgreSQL database from version 12 to 14" echo " which is needed to convert from Bacula Enterprise version 2.6.x to 4.0.x" echo " or Bacula Community version 5.0.x to 5.2.x" echo " " @@ -17,7 +17,7 @@ DBVERSION=`psql -d ${db_name} -t --pset format=unaligned -c "select VersionId fr if [ $DBVERSION != 12 ] ; then echo " " echo "The existing database is version $DBVERSION !!" - echo "This script can only update an existing version 12 database to version 13." + echo "This script can only update an existing version 12 database to version 14." echo "Error. Cannot upgrade this database." echo " " exit 1 diff --git a/bacula/src/cats/update_sqlite3_tables.in b/bacula/src/cats/update_sqlite3_tables.in index 1b8ae4f67b..d7d595b537 100644 --- a/bacula/src/cats/update_sqlite3_tables.in +++ b/bacula/src/cats/update_sqlite3_tables.in @@ -4,7 +4,7 @@ # or Bacula Community version 5.0.x to 5.2.x # echo " " -echo "This script will update a Bacula MySQL database from version 12 to 13" +echo "This script will update a Bacula MySQL database from version 12 to 14" echo " which is needed to convert from Bacula Enterprise version 2.6.x to 4.0.x" echo " or Bacula Community version 5.0.x to 5.2.x" echo " " @@ -21,7 +21,7 @@ END if [ $DBVERSION != 12 ] ; then echo " " echo "The existing database is version $DBVERSION !!" - echo "This script can only update an existing version 12 database to version 13." + echo "This script can only update an existing version 12 database to version 14." echo "Error. Cannot upgrade this database." echo " " exit 1 -- 2.39.5