diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2017-09-25 09:59:11 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2017-09-25 09:59:11 +0800 |
commit | fb952b8c4cb4a47ad33cf7f7c3a06b83954343a2 (patch) | |
tree | d5967d00b0565dc4700c5a9dd5ac49e92508ce42 | |
parent | 074eab95235e35431b0439e42d253d44b139004e (diff) |
fix yaml install
move yaml install out of if block to
install pyyaml whenever apt packages
is installed
Change-Id: Icbad66e0d8070afcb183c31af4759443bf0cf7f1
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
-rwxr-xr-x | build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -65,13 +65,13 @@ function prepare_env() if ! apt --installed list 2>/dev/null |grep "\<$i\>" then sudo apt-get install -y --force-yes $i - sudo pip install pyyaml fi + sudo pip install pyyaml fi if [[ $REDHAT_REL == true ]]; then sudo yum install $i -y - sudo pip install pyyaml fi + sudo pip install pyyaml done set -e } |