Disable sync_api_key if no zuliprc

(imported from commit f9e7f924c00230137ca45c204158b709cd311ebb)
This commit is contained in:
Luke Faraone
2015-06-10 11:28:02 -07:00
parent 8ea139c772
commit 81a2a20bbf

View File

@@ -10,4 +10,8 @@ python manage.py migrate
python manage.py createcachetable third_party_api_results
python manage.py populate_db -n100 --threads=1
# Ensure that the local user's API key is synced from ~/.zuliprc
python manage.py sync_api_key
if [ -e ~/.zuliprc ]; then
python manage.py sync_api_key
fi