Update paperless-ngx-install.sh

This commit is contained in:
CanbiZ 2025-01-23 11:21:27 +01:00 committed by GitHub
parent 6d88f1a796
commit c54180e8fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,7 +61,7 @@ $STD apt-get install -y \
tesseract-ocr \ tesseract-ocr \
tesseract-ocr-eng tesseract-ocr-eng
echo "deb http://deb.debian.org/debian trixie main" | sudo tee /etc/apt/sources.list.d/trixie.list $STD echo "deb http://deb.debian.org/debian trixie main" | sudo tee /etc/apt/sources.list.d/trixie.list
$STD cat <<EOF | sudo tee /etc/apt/preferences.d/ghostscript $STD cat <<EOF | sudo tee /etc/apt/preferences.d/ghostscript
Package: * Package: *
Pin: release n=trixie Pin: release n=trixie
@ -72,8 +72,8 @@ Pin: release n=trixie
Pin-Priority: 990 Pin-Priority: 990
EOF EOF
$STD apt-get update $STD apt-get update
echo "libc6 libraries/restart-without-asking boolean true" | sudo debconf-set-selections $STD echo "libc6 libraries/restart-without-asking boolean true" | sudo debconf-set-selections
DEBIAN_FRONTEND=noninteractive apt install -t trixie ghostscript -y $STD DEBIAN_FRONTEND=noninteractive apt install -t trixie ghostscript -y
msg_ok "Installed OCR Dependencies" msg_ok "Installed OCR Dependencies"
msg_info "Installing JBIG2" msg_info "Installing JBIG2"