aboutsummaryrefslogtreecommitdiffstats
path: root/deploy.sh
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2016-01-20 18:00:46 +0800
committerJustin chi <chigang@huawei.com>2016-01-21 13:04:06 +0000
commit4a4a18e97eed73c1b82ae83b65cd765160f8ae6c (patch)
tree8e80ffdd4e39d5444df476a04e9d5f8cb490aded /deploy.sh
parenta3bd2f1640f94242652a9205616988b78de95f15 (diff)
bugfix for jumpserver on ubuntu 14.04.3
Change-Id: I59a41ca1ec2c0e576b590d5de39c04cd19273614 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh10
1 files changed, 4 insertions, 6 deletions
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 $*