Updated Pre Consume Script Examples (markdown)

Trenton H 2023-03-06 07:58:58 -08:00
parent 00b1767b9a
commit 7ec62616c6

@ -12,7 +12,7 @@ set -e -o pipefail
export LC_ALL=C
#IN="$1"
IN="$DOCUMENT_SOURCE_PATH"
IN="$DOCUMENT_WORKING_PATH"
PAGES=$(pdfinfo "$IN" | grep ^Pages: | tr -dc '0-9')
THRESHOLD=0.002
@ -44,6 +44,6 @@ fi
```bash
#!/usr/bin/env bash
qpdf --replace-input "$DOCUMENT_SOURCE_PATH"
qpdf --replace-input "$DOCUMENT_WORKING_PATH"
```