Skip to content
Snippets Groups Projects
Commit ef1f7f69 authored by Jose Diaz-Gonzalez's avatar Jose Diaz-Gonzalez Committed by Casey Faist
Browse files

fix: drop broken version check

Due to how the version checks work - via sorting, not actual comparison - this previously resulted in _always_ installing sqlite3, even though it was already bundled for lower versions of python. The second version check also encompasses 3.7.0+, so there is no need to respecify the check.
parent 25818765
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,5 @@ python_sqlite3_check() {
MIN_PYTHON_2="python-2.7.15"
( python2_check "$VERSION" && version_gte "$VERSION" "$MIN_PYTHON_2" ) \
|| ( python3_check "$VERSION" && version_gte "$VERSION" "$MIN_PYTHON_3" ) \
|| ( version_gte "$VERSION" "3.7.0" )
|| ( python3_check "$VERSION" && version_gte "$VERSION" "$MIN_PYTHON_3" )
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment