mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 23:10:47 +00:00
Add /usr/lib/rbenv/hooks to hook search path
This will help with the packaging of rbenv plugin that contain hooks in Debian.
This commit is contained in:
parent
9ea1f7d53e
commit
d1bfeee334
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ for plugin_bin in "${RBENV_ROOT}/plugins/"*/bin; do
|
|||
done
|
||||
export PATH="${bin_path}:${PATH}"
|
||||
|
||||
hook_path="${RBENV_HOOK_PATH}:${RBENV_ROOT}/rbenv.d:/usr/local/etc/rbenv.d:/etc/rbenv.d"
|
||||
hook_path="${RBENV_HOOK_PATH}:${RBENV_ROOT}/rbenv.d:/usr/local/etc/rbenv.d:/etc/rbenv.d:/usr/lib/rbenv/hooks"
|
||||
for plugin_hook in "${RBENV_ROOT}/plugins/"*/etc/rbenv.d; do
|
||||
hook_path="${hook_path}:${plugin_hook}"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue