Skip to content

Commit

Permalink
Improve SQLite version string (Chia-Network#10387)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffmang9 authored Feb 23, 2022
1 parent c844016 commit f6af022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ echo "Python version is $INSTALL_PYTHON_VERSION"
SQLITE_VERSION=$($INSTALL_PYTHON_PATH -c 'import sqlite3; print(sqlite3.sqlite_version)')
SQLITE_MAJOR_VER=$(echo "$SQLITE_VERSION" | cut -d'.' -f1)
SQLITE_MINOR_VER=$(echo "$SQLITE_VERSION" | cut -d'.' -f2)
echo "SQLite version of the Python is ${SQLITE_VERSION}"
echo "SQLite version for Python is ${SQLITE_VERSION}"
if [ "$SQLITE_MAJOR_VER" -lt "3" ] || [ "$SQLITE_MAJOR_VER" = "3" ] && [ "$SQLITE_MINOR_VER" -lt "8" ]; then
echo "Only sqlite>=3.8 is supported"
exit 1
Expand Down

0 comments on commit f6af022

Please sign in to comment.