add tracking for sqlite install success or failure

This commit is contained in:
Casey Faist
2019-12-02 15:22:03 -05:00
parent ba55465a2b
commit d166ee88d7
+8 -1
View File
@@ -83,7 +83,14 @@ buildpack_sqlite3_install() {
# only install if the sqlite3 version has changed
if [ "$INSTALLED_SQLITE3_VERSION" != "$SQLITE3_VERSION" ]; then
puts-step "Installing SQLite3"
sqlite3_install "$BUILD_DIR/.heroku/python" "$SQLITE3_VERSION"
if sqlite3_install "$BUILD_DIR/.heroku/python" "$SQLITE3_VERSION" ; then
echo "Sqlite3 successfully installed."
mcount "success.python.sqlite3"
else
echo "Sqlite3 failed to install."
mcount "failure.python.sqlite3"
fi
# save version installed
mkdir -p "$CACHE_DIR/.heroku/"