From 9628f619696e8f2ec08bfad5d9818610db9be7c2 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Tue, 22 Jul 2025 19:16:02 +0200 Subject: [PATCH] add dependency exiftool --- src/control | 2 +- src/scanbasic.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/control b/src/control index 803d8e5..397c383 100644 --- a/src/control +++ b/src/control @@ -2,5 +2,5 @@ Package: scantopdf Version: $VERSION Architecture: amd64 Maintainer: Bastian Dehn -Depends: sane (>= 1.0.14), qpdf (>= 11.3.0), pdftk (>= 2.02), libtiff-tools (>= 4.5.0), ocrmypdf (>= 14.0.1), tesseract-ocr-deu (>= 4.1.0), zbar-tools (>= 0.23.92), qrencode (>= 4.1.), librsvg2-bin (>= 2.54.7) +Depends: sane (>= 1.0.14), qpdf (>= 11.3.0), pdftk (>= 2.02), libtiff-tools (>= 4.5.0), ocrmypdf (>= 14.0.1), tesseract-ocr-deu (>= 4.1.0), zbar-tools (>= 0.23.92), qrencode (>= 4.1.), librsvg2-bin (>= 2.54.7), libimage-exiftool-perl (>=12.57+dfsg-1) Description: scan to pdf with ocr scripts for sane-kds-s2000w-net diff --git a/src/scanbasic.sh b/src/scanbasic.sh index f31bcbf..a2246cb 100644 --- a/src/scanbasic.sh +++ b/src/scanbasic.sh @@ -31,6 +31,9 @@ check_commands() command -v tiff2pdf > /dev/null \ || errlog "command tiff2pdf not found" \ || return $? + command -v exiftool > /dev/null \ + || errlog "command exiftool not found" \ + || return $? } optimize() -- 2.47.3