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 14:52:16 +0000
commit7dbe3c16fc7eadfa9e3a4ae182ec9d61ce8f292f (patch)
treee965cc2d3e7e35944fb8c526a1b6326abf062622 /deploy.sh
parent49969489169623beeb31d19f6a8a167a67c69417 (diff)
bugfix for jumpserver on ubuntu 14.04.3
Change-Id: I59a41ca1ec2c0e576b590d5de39c04cd19273614 Signed-off-by: carey.xu <carey.xuhan@huawei.com> (cherry picked from commit 4a4a18e97eed73c1b82ae83b65cd765160f8ae6c)
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 $*