Skip to content

Commit

Permalink
fix install fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
kiorky committed Jun 29, 2023
1 parent ca01772 commit 79374e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,8 @@ reinstall_egg_path() {
}

try_fix_deps() {
if ! ( $COPS_PYTHON -m pip --version );then
local COPS_PYTHON=${COPS_PYTHON:-$(get_cops_python)}
if ! ( $COPS_PYTHON -m pip --version &>/dev/null );then
log "Trying to install missing dependencies(fix)"
DO_INSTALL_PREREQUISITES=y install_prerequisites || die "install prereqs(fix) failed"
fi
Expand Down

0 comments on commit 79374e4

Please sign in to comment.