This commit is contained in:
Kenneth Reitz
2012-05-30 03:43:03 -04:00
parent f9b83a4e95
commit 436e945a91
2 changed files with 13 additions and 0 deletions
+7
View File
@@ -2,6 +2,13 @@
set +e
# Syntax sugar.
indent() {
RE="s/^/ /"
[ $(uname) == "Darwin" ] && sed -l "$RE" || sed -u "$RE"
}
# Check if collectstatic is configured.
python $MANAGE_FILE collectstatic --help &> /dev/null && RUN_COLLECTSTATIC=true
+6
View File
@@ -12,6 +12,12 @@
# ## Sanity Checks
#
# Syntax sugar.
indent() {
RE="s/^/ /"
[ $(uname) == "Darwin" ] && sed -l "$RE" || sed -u "$RE"
}
echo "-----> Installing dj-database-url..."
pip install --use-mirrors dj-database-url | indent