mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
add tracking for sqlite install success or failure
This commit is contained in:
+8
-1
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user