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.
This commit is contained in:
Jose Diaz-Gonzalez
2018-10-31 16:59:04 -04:00
committed by Casey Faist
parent 25818765ee
commit ef1f7f6924
+1 -2
View File
@@ -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" )
}