使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
isprogram
/
pyenv
镜像自地址
https://github.com/pyenv/pyenv.git
关注
1
点赞
0
派生
0
代码
工单
0
项目
0
版本发布
240
百科
动态
浏览代码
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 年前
提交者
GitHub
父节点
30212f0054
1ec90481e8
当前提交
d15f3888f0
共有
1 个文件被更改
,包括
5 次插入
和
3 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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"
撰写
预览
正在加载...
取消
保存