modified: install.sh

This commit is contained in:
xbl
2026-06-14 14:24:35 +02:00
parent b87ac01d83
commit d1f6e15bdb

View File

@ -103,7 +103,7 @@ download_and_extract() {
setup_venv() { setup_venv() {
info "Setting up Python virtual environment..." info "Setting up Python virtual environment..."
if [[ ! -d "$INSTALL_DIR/venv" ]]; then if [[ ! -d "$INSTALL_DIR/venv" ]] || [[ ! -f "$INSTALL_DIR/venv/bin/pip" ]]; then
python3 -m venv "$INSTALL_DIR/venv" || die "Failed to create venv" python3 -m venv "$INSTALL_DIR/venv" || die "Failed to create venv"
else else
warn "venv already exists - skipping creation" warn "venv already exists - skipping creation"