Fix pyenv installation

This commit is contained in:
Manuel Thalmann 2024-03-20 23:08:15 +01:00
parent 5db2666bbe
commit 4ec1fdde19

View file

@ -1,10 +1,5 @@
#!/bin/bash
pushd "${BASH_SOURCE%/*}" > /dev/null;
curl https://pyenv.run | bash;
{
echo "";
echo "# pyenv";
echo 'export PYENV_ROOT="$HOME/.pyenv"';
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"';
echo 'eval "$(pyenv init -)"';
echo 'eval "$(pyenv virtualenv-init -)"';
} >> ~/.bashrc;
. "../../Config/pyenv/install.sh";
popd > /dev/null;