From 95818ab802de18bc990d14ae2eef96d86308ab8f Mon Sep 17 00:00:00 2001 From: Lars Fronius Date: Tue, 9 May 2017 12:50:46 +0200 Subject: [PATCH] Update pip --- pyenv.d/exec/pip-rehash/pip | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pyenv.d/exec/pip-rehash/pip b/pyenv.d/exec/pip-rehash/pip index 28590aad..db3c2d9e 100755 --- a/pyenv.d/exec/pip-rehash/pip +++ b/pyenv.d/exec/pip-rehash/pip @@ -23,13 +23,9 @@ STATUS=0 if [ "$STATUS" == "0" ]; then for piparg in "$@"; do case ${piparg} in - "install" | "uninstall" ) REHASH=0;; + "install" | "uninstall" ) pyenv-rehash ; break;; esac done fi -if [ "$REHASH" == "0" ]; then - pyenv-rehash -fi - -exit "$STATUS" +exit "$STATUS";