This commit is contained in:
CanbiZ 2025-04-30 11:00:54 +02:00
parent 335813cb3b
commit d73f6df44c
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ function update_script() {
BACKUP_DIR="/opt/paperless-backup-$(date +%F_%T | tr ':' '-')"
setup_ghostscript
setup_gs
setup_uv
msg_info "Backing up Paperless folders"

View File

@ -54,7 +54,7 @@ $STD apt-get install -y \
tesseract-ocr-eng
msg_ok "Installed OCR Dependencies"
setup_ghostscript
setup_gs
msg_info "Installing JBIG2"
$STD git clone https://github.com/ie13/jbig2enc /opt/jbig2enc

View File

@ -847,7 +847,7 @@ function ensure_usr_local_bin_persist() {
fi
}
function setup_ghostscript() {
function setup_gs() {
msg_info "Setup Ghostscript"
local TMP_DIR
TMP_DIR=$(mktemp -d)