# added --prefix to the default_install_python otherwise it doesn't run python setup.py install --prefix="/usr" --staging-root "${INSTALL_ROOT}/usr" "$@" && # python install skips it, but calibre needs it... if [[ ! -e "${INSTALL_ROOT}/usr/bin/python2" ]]; then ln -s "${INSTALL_ROOT}/usr/bin/python" "${INSTALL_ROOT}/usr/bin/python2" fi .