From 7d10d69537cdd75518be281593230cb95e54fdaf Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Tue, 20 Aug 2024 09:59:28 +0200 Subject: [PATCH] fix typo --- contrib/container/execute.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/container/execute.sh b/contrib/container/execute.sh index c6fa958694..e766f97718 100755 --- a/contrib/container/execute.sh +++ b/contrib/container/execute.sh @@ -11,7 +11,7 @@ if [ ! -e "$db_version_old" ]; then invoke update || exit 2 echo "Setup command completed." - echo "$db_version" > "$db_version_old" + echo "$new_version" > "$db_version_old" fi old_version=$(cat "$db_version_old") echo "old version $old_version" @@ -34,7 +34,7 @@ if [ "$(awk -v num1=$old_version -v num2=$new_version 'BEGIN { print (num1 < num echo "Update successful" # Write the the new version to the old version file after update - echo "$db_version" > "$db_version_old" + echo "$new_version" > "$db_version_old" fi echo "Database migration/update checks completed."