Update stirlingpdf-install.sh

tweak
This commit is contained in:
tteckster 2024-01-07 20:42:08 -05:00 committed by GitHub
parent 3ea4ec656b
commit 1789d7af21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies (Patience)"
$STD apt-get install -y \ $STD apt-get install -y \
curl \ curl \
sudo \ sudo \
@ -27,13 +27,17 @@ $STD apt-get install -y \
zlib1g-dev \ zlib1g-dev \
make \ make \
g++ \ g++ \
libreoffice-writer \
libreoffice-calc \
libreoffice-impress \
unpaper \ unpaper \
ocrmypdf ocrmypdf
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing LibreOffice Components"
$STD apt-get install -y \
libreoffice-writer \
libreoffice-calc \
libreoffice-impress
msg_ok "Installed LibreOffice Components"
msg_info "Installing Python Dependencies" msg_info "Installing Python Dependencies"
$STD apt-get install -y \ $STD apt-get install -y \
python3 \ python3 \
@ -63,11 +67,11 @@ $STD make
$STD make install $STD make install
msg_ok "Installed JBIG2" msg_ok "Installed JBIG2"
msg_info "Installing Language Packs (All)" msg_info "Installing Language Packs (Patience)"
$STD apt-get install -y 'tesseract-ocr-*' $STD apt-get install -y 'tesseract-ocr-*'
msg_ok "Installed Language Packs" msg_ok "Installed Language Packs"
msg_info "Installing Stirling-PDF" msg_info "Installing Stirling-PDF (Additional Patience)"
$STD git clone https://github.com/Stirling-Tools/Stirling-PDF.git $STD git clone https://github.com/Stirling-Tools/Stirling-PDF.git
cd Stirling-PDF cd Stirling-PDF
chmod +x ./gradlew chmod +x ./gradlew