From: Alfredo Deza Date: Wed, 24 Jun 2015 17:30:20 +0000 (-0400) Subject: ignore if file exist when installing with pip from cache X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b4c37334ee73b4ac0aaf91782f17b83dfd9fea0d;p=ceph-build.git ignore if file exist when installing with pip from cache Signed-off-by: Alfredo Deza --- diff --git a/ceph-deploy-pull-requests/build/setup b/ceph-deploy-pull-requests/build/setup index dd345e4e..f6e835dc 100644 --- a/ceph-deploy-pull-requests/build/setup +++ b/ceph-deploy-pull-requests/build/setup @@ -25,7 +25,7 @@ fi # Install the package by trying with the cache first, otherwise doing a download only, and then # trying to install from the cache again. if ! venv/bin/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index ansible; then - venv/bin/pip install --download-directory="$PIP_SDIST_INDEX" ansible + venv/bin/pip install --exists-action=i --download-directory="$PIP_SDIST_INDEX" ansible venv/bin/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index ansible fi