The changelog says
      - Fixed 007.fixed-command-manpage.patch: add --no-rehash to
        pyenv init command to prevent rehash error on login (Closes: #1124074)

but I'm still getting "mkdir: cannot create directory
‘/usr/share/pyenv/shims’: Permission denied" for login shells.
007.fixed-command-manpage.patch is just a diff to a manpage; it
doesn't change the fact that /etc/profile.d/pyenv.sh, as shipped with
the package, says:
#!/usr/bin/env bash

export PYENV_ROOT="/usr/share/pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"

if command -v pyenv 1>/dev/null 2>&1; then
   eval "$(pyenv init --path)"
fi


-- 
The standard is written in English . If you have trouble understanding
a particular section, read it again and again and again . . . Sit up
straight. Eat your vegetables. Do not mumble. -- _Pascal_, ISO 7185
(1991)

Reply via email to