diff options
author | carey.xu <carey.xuhan@huawei.com> | 2016-01-20 18:00:46 +0800 |
---|---|---|
committer | Justin chi <chigang@huawei.com> | 2016-01-21 14:52:16 +0000 |
commit | 7dbe3c16fc7eadfa9e3a4ae182ec9d61ce8f292f (patch) | |
tree | e965cc2d3e7e35944fb8c526a1b6326abf062622 /deploy.sh | |
parent | 49969489169623beeb31d19f6a8a167a67c69417 (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-x | deploy.sh | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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 $* |