fix calbire web

This commit is contained in:
CanbiZ (MickLesk)
2026-02-17 12:37:33 +01:00
parent f40baa4699
commit d83fc60493
2 changed files with 7 additions and 11 deletions

View File

@@ -29,7 +29,7 @@ msg_info "Installing Calibre (for eBook conversion)"
$STD apt install -y calibre
msg_ok "Installed Calibre"
fetch_and_deploy_gh_release "calibre-web" "janeczku/calibre-web" "tarball" "latest" "/opt/calibre-web"
fetch_and_deploy_gh_release "calibre-web" "janeczku/calibre-web" "prebuild" "latest" "/opt/calibre-web" "calibre-web*.tar.gz"
setup_uv
msg_info "Installing Python Dependencies"
@@ -37,9 +37,6 @@ cd /opt/calibre-web
$STD uv venv
$STD uv pip install --python /opt/calibre-web/.venv/bin/python --no-cache-dir --upgrade pip setuptools wheel
$STD uv pip install --python /opt/calibre-web/.venv/bin/python --no-cache-dir -r requirements.txt
if [[ -f optional-requirements.txt ]]; then
$STD uv pip install --python /opt/calibre-web/.venv/bin/python --no-cache-dir -r optional-requirements.txt
fi
msg_ok "Installed Python Dependencies"
msg_info "Creating Service"