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

This commit is contained in:
Yamashita Yuu 2014-10-19 00:34:20 +09:00
parent eef8ac2701
commit d9e772eb6e

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"