]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix org#2751 About typo in update_postgresql_tables_1025_to_1026.in
authorEric Bollengier <eric@baculasystems.com>
Mon, 3 Mar 2025 07:59:49 +0000 (08:59 +0100)
committerEric Bollengier <eric@baculasystems.com>
Mon, 3 Mar 2025 07:59:49 +0000 (08:59 +0100)
bacula/updatedb/update_postgresql_tables_1025_to_1026.in

index ab4ba2e45e5cc13474bebc7e428b86428cacc302..3479dfab6bdad1b3fc4c0e0efaf044941fafcc78 100644 (file)
@@ -13,7 +13,7 @@ PATH="$bindir:$PATH"
 db_name=${db_name:-@db_name@}
 
 DBVERSION=`psql -d ${db_name} -t --pset format=unaligned -c "select VersionId from Version" $*`
-if [ $DBVERSION != 1024 ] ; then
+if [ $DBVERSION != 1025 ] ; then
    echo " "
    echo "The existing database is version $DBVERSION !!"
    echo "This script can only update an existing version 1025 database to version 1026."