From 423c6e99913b744d67cfe9a37b1788f6343b6148 Mon Sep 17 00:00:00 2001 From: Marc Aymerich Date: Tue, 5 May 2015 20:38:53 +0000 Subject: [PATCH] Fixes on deploy.sh --- scripts/container/deploy.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/container/deploy.sh b/scripts/container/deploy.sh index a563b17c..3dac0186 100755 --- a/scripts/container/deploy.sh +++ b/scripts/container/deploy.sh @@ -54,10 +54,11 @@ if [[ ! $CURRENT_VERSION ]]; then } PYTHON_PATH=$($PYTHON_BIN -c "import sys; print([path for path in sys.path if path.startswith('/usr/local/lib/python')][0]);") echo $HOME/django-orchestra/ | sudo tee "$PYTHON_PATH/orchestra.pth" - run "cp $HOME/django-orchestra/orchestra/bin/orchestra-admin /usr/local/bin/" - run "cp $HOME/django-orchestra/orchestra/bin/orchestra-beat /usr/local/bin/" fi +run "cp $HOME/django-orchestra/orchestra/bin/orchestra-admin /usr/local/bin/" +run "cp $HOME/django-orchestra/orchestra/bin/orchestra-beat /usr/local/bin/" + sudo orchestra-admin install_requirements --testing if [[ ! -e $BASE_DIR ]]; then