From 4a4a18e97eed73c1b82ae83b65cd765160f8ae6c Mon Sep 17 00:00:00 2001 From: "carey.xu" Date: Wed, 20 Jan 2016 18:00:46 +0800 Subject: bugfix for jumpserver on ubuntu 14.04.3 Change-Id: I59a41ca1ec2c0e576b590d5de39c04cd19273614 Signed-off-by: carey.xu --- deploy.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'deploy.sh') diff --git a/deploy.sh b/deploy.sh index 5b315c5c..95c3276d 100755 --- a/deploy.sh +++ b/deploy.sh @@ -8,11 +8,9 @@ if [[ -z $DEPLOY_COMPASS && -z $DEPLOY_HOST && -z $REDEPLOY_HOST ]]; then export DEPLOY_HOST="true" fi -for i in python-cheetah python-yaml; do - if [[ `dpkg-query -l $i` == 0 ]]; then - continue - fi - sudo apt-get install -y --force-yes $i -done +sudo apt-get install -y --force-yes python-pip +sudo pip install --upgrade pip +sudo pip install --upgrade cheetah +sudo pip install --upgrade pyyaml $COMPASS_DIR/deploy/launch.sh $* -- cgit 1.2.3-korg