From 47635ff29c362fd2329b8ffddbcdd8effc27f147 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 8 Jul 2025 11:56:55 +0200 Subject: [PATCH] Update stirling-pdf-install.sh --- install/stirling-pdf-install.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/install/stirling-pdf-install.sh b/install/stirling-pdf-install.sh index fbca7c76..5c03ec58 100644 --- a/install/stirling-pdf-install.sh +++ b/install/stirling-pdf-install.sh @@ -54,10 +54,11 @@ $STD apt-get install -y \ libreoffice-base-core \ unoconv \ pngquant \ - weasyprint \ - python3-uno + weasyprint msg_ok "Installed LibreOffice Components" +msg_info "Installing Python Dependencies" +$STD apt-get install -y python3-pip python3-uno $STD uv venv /opt/.venv export PATH="/opt/.venv/bin:$PATH" $STD uv pip install --upgrade pip @@ -65,10 +66,11 @@ $STD uv pip install \ opencv-python-headless \ ocrmypdf \ pillow \ - pdf2image \ - unoserver + pdf2image +$STD pip3 install unoserver ln -sf /opt/.venv/bin/python3 /usr/local/bin/python3 ln -sf /opt/.venv/bin/pip /usr/local/bin/pip +msg_ok "Installed Python Dependencies" msg_info "Installing JBIG2" $STD curl -fsSL -o /tmp/jbig2enc.tar.gz https://github.com/agl/jbig2enc/archive/refs/tags/0.30.tar.gz