diff --git a/bin/steps/sqlite3 b/bin/steps/sqlite3 index 8ecdecb..6216177 100755 --- a/bin/steps/sqlite3 +++ b/bin/steps/sqlite3 @@ -3,8 +3,6 @@ # shellcheck source=bin/utils source "$BIN_DIR/utils" -sqlite3_version() - sqlite3_install() { HEROKU_PYTHON_DIR="$1" HEADERS_ONLY="$3" @@ -66,16 +64,13 @@ buildpack_sqlite3_install() { INSTALLED_SQLITE3_VERSION=$(cat "$SQLITE3_VERSION_FILE") fi - # python version check - if python_sqlite3_check "$PYTHON_VERSION"; then - puts-step "Installing SQLite3" + puts-step "Installing SQLite3" - if sqlite3_install "$BUILD_DIR/.heroku/python" ; then - echo "Sqlite3 successfully installed." - mcount "success.python.sqlite3" - else - echo "Sqlite3 failed to install." - mcount "failure.python.sqlite3" - fi + if sqlite3_install "$BUILD_DIR/.heroku/python" ; then + echo "Sqlite3 successfully installed." + mcount "success.python.sqlite3" + else + echo "Sqlite3 failed to install." + mcount "failure.python.sqlite3" fi }