mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix typo
This commit is contained in:
parent
9a4216797a
commit
7d10d69537
@ -11,7 +11,7 @@ if [ ! -e "$db_version_old" ]; then
|
|||||||
invoke update || exit 2
|
invoke update || exit 2
|
||||||
|
|
||||||
echo "Setup command completed."
|
echo "Setup command completed."
|
||||||
echo "$db_version" > "$db_version_old"
|
echo "$new_version" > "$db_version_old"
|
||||||
fi
|
fi
|
||||||
old_version=$(cat "$db_version_old")
|
old_version=$(cat "$db_version_old")
|
||||||
echo "old version $old_version"
|
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"
|
echo "Update successful"
|
||||||
|
|
||||||
# Write the the new version to the old version file after update
|
# 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
|
fi
|
||||||
|
|
||||||
echo "Database migration/update checks completed."
|
echo "Database migration/update checks completed."
|
||||||
|
Loading…
Reference in New Issue
Block a user