moving chown after pip install

This commit is contained in:
John Jarvis
2012-07-18 13:50:52 -04:00
parent dbf0bf34d8
commit 5ffafbe190

View File

@@ -171,7 +171,6 @@ task :package do
set -e
set -x
chown -R makeitso:makeitso #{INSTALL_DIR_PATH}
service gunicorn stop || echo "Unable to stop gunicorn. Continuing"
rm -f #{LINK_PATH}
@@ -184,6 +183,7 @@ task :package do
pip install -r #{PIP_REPO_REQUIREMENTS}
fi
chown -R makeitso:makeitso #{INSTALL_DIR_PATH}
# Delete mako temp files
rm -rf /tmp/tmp*mako