From d0050f81b70c19116db9992d8c1dfc07c50bdeea Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Sat, 30 Jan 2021 13:18:03 +0100 Subject: [PATCH] clean orchestra-deploy --- scripts/containers/orchestra-deploy | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/containers/orchestra-deploy b/scripts/containers/orchestra-deploy index c5203e1a..6ac68c1c 100644 --- a/scripts/containers/orchestra-deploy +++ b/scripts/containers/orchestra-deploy @@ -50,8 +50,7 @@ function install_orchestra () { if [[ -d $python_path/orchestra ]]; then run sudo rm -fr $python_path/orchestra fi - #orch_version=$(python3 -c "from orchestra import get_version; print(get_version());" 2> /dev/null) - orch_version='' + orch_version=$(python3 -c "from orchestra import get_version; print(get_version());" 2> /dev/null) if [[ ! $orch_version ]]; then # First Orchestra installation run sudo mkdir -p /usr/share/man/man1 @@ -70,13 +69,10 @@ function install_orchestra () { run sudo rm -f /usr/local/bin/{orchestra-admin,orchestra-beat} fi run sudo pip3 install -e $home/django-orchestra - #run sudo ln -s $home/django-orchestra/orchestra/bin/orchestra-admin /usr/local/bin/ - #run sudo ln -s $home/django-orchestra/orchestra/bin/orchestra-beat /usr/local/bin/ run sudo orchestra-admin install_requirements --testing else # Install from pip run sudo orchestra-admin install_requirements - #run sudo pip3 install http://git.io/django-orchestra-dev run sudo pip3 install -e git+https://github.com/ribaguifi/django-orchestra.git#egg=django-orchestra fi }