fix path
This commit is contained in:
parent
335813cb3b
commit
d73f6df44c
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user