Skip to content

Git configs with core.symlinks=false breaks pyenv install #169

@WorldShredder

Description

@WorldShredder

Issue

On systems which have a global or system git config containing core.symlinks=false (e.g. Whonix, and by extension (likely) every sec-distro) the installer will fail due to .pyenv/bin/pyenv resolving to a regular file.

Solution

Add -c core.symlinks=true to the git call in checkout() in bin/pyenv-installer, and maybe take a less invasive approach by attaching it to another environment variable to make it optional. At the very least it should be noted in the README, but that involves extra, unnecessary steps for the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions