Browse Source

Stop creating symlinks w/ version suffix if `altinstall` has specified (#182, #255)

pull/260/head
Yamashita Yuu 10 years ago
parent
commit
d9e772eb6e
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      plugins/python-build/bin/python-build

+ 3
- 1
plugins/python-build/bin/python-build View File

@ -1282,7 +1282,9 @@ verify_python() {
ln -fs "${PREFIX_PATH}/Python.framework/Versions/Current/bin" "${PREFIX_PATH}/bin"
fi
create_symlinks "$1"
if [[ "$PYTHON_MAKE_INSTALL_TARGET" != *"altinstall"* ]]; then
create_symlinks "$1"
fi
if [ ! -x "${PYTHON_BIN}" ]; then
{ colorize 1 "ERROR"

Loading…
Cancel
Save