Skip to content

Commit

Permalink
Merge pull request #3229 from Alex-developer/flowfix2
Browse files Browse the repository at this point in the history
Copy python dependencies during upgrade
  • Loading branch information
EricClaeys authored Dec 23, 2023
2 parents 0fb66cb + 6018a94 commit a4601a1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2325,6 +2325,15 @@ install_overlay()
activate_python_venv
fi

# AG - Temporary fix to ensure that all dependencies are available for the Allsky modules
# as the flow upgrader needs to load each module and if the dependencies are missing this will
# fail
if [[ -d "${ALLSKY_PYTHON_VENV}" ]]; then
if [[ -d "${PRIOR_ALLSKY_DIR}/venv/lib" ]]; then
cp -arn "${PRIOR_ALLSKY_DIR}/venv/lib" "${ALLSKY_PYTHON_VENV}/"
fi
fi

local TMP="${ALLSKY_INSTALLATION_LOGS}/${NAME}"
display_msg --log progress "Installing ${NAME}${M}:"
local COUNT=0
Expand Down

0 comments on commit a4601a1

Please sign in to comment.