]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3789] Extend the change to upgrade scripts down to Kea 2.6
authorAndrei Pavel <andrei@isc.org>
Fri, 16 May 2025 08:20:13 +0000 (11:20 +0300)
committerAndrei Pavel <andrei@isc.org>
Fri, 16 May 2025 08:20:13 +0000 (11:20 +0300)
src/share/database/scripts/mysql/upgrade_022_to_023.sh.in
src/share/database/scripts/pgsql/upgrade_022_to_023.sh.in

index a5e0d0d7a89da2c0fc9224645e4ec2ae883f47cd..7161fb465b429af7ada25abe6654bfb597cf1ce6 100755 (executable)
@@ -28,7 +28,7 @@ fi
 
 # Check only major version to allow for intermediary backported schema changes.
 version=$(mysql_version "${@}" | cut -d '.' -f 1)
-if test "${version}" != "22"; then
+if test "${version}" != '22'; then
     printf 'This script upgrades 22.* to 23.0. '
     printf 'Reported version is %s. Skipping upgrade.\n' "${version}"
     exit 0
index eee3f7249acada06d41542dee679f5ea36095869..18eaa23e6ef79e9c6cd4f90b1ed840f353b80c8d 100755 (executable)
@@ -28,7 +28,7 @@ fi
 
 # Check only major version to allow for intermediary backported schema changes.
 version=$(pgsql_version "${@}" | cut -d '.' -f 1)
-if test "${version}" != "22"; then
+if test "${version}" != '22'; then
     printf 'This script upgrades 22.* to 23.0. '
     printf 'Reported version is %s. Skipping upgrade.\n' "${version}"
     exit 0