소스 검색

Merge pull request #907 from LarsFronius/patch-1

Fixes pip-rehash to rehash if pip was called with a flag
pull/909/head
Yamashita, Yuu 9 년 전
committed by GitHub
부모
커밋
d15f3888f0
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. +5
    -3
      pyenv.d/exec/pip-rehash/pip

+ 5
- 3
pyenv.d/exec/pip-rehash/pip 파일 보기

@ -21,9 +21,11 @@ STATUS=0
# Run `pyenv-rehash` after a successful installation.
if [ "$STATUS" == "0" ]; then
case "$1" in
"install" | "uninstall" ) pyenv-rehash;;
esac
for piparg in "$@"; do
case ${piparg} in
"install" | "uninstall" ) pyenv-rehash ; break;;
esac
done
fi
exit "$STATUS"

불러오는 중...
취소
저장