From e5cabc10d7b2b704d44b6feb436ccd25ae9fbbaf Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Sat, 5 Jul 2025 14:03:50 +0200 Subject: [PATCH] change version generate in contorl file --- build-package | 1 + control | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build-package b/build-package index 2960018..6462364 100755 --- a/build-package +++ b/build-package @@ -32,6 +32,7 @@ main() mkdir -p build/$PACKAGENAME/DEBIAN cp control build/$PACKAGENAME/DEBIAN/control + sed -i "s/\$VERSION/$VERSION/" build/$PACKAGENAME/DEBIAN/control cd build diff --git a/control b/control index f476a85..803d8e5 100644 --- a/control +++ b/control @@ -1,5 +1,5 @@ Package: scantopdf -Version: 1.0.6 +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) -- 2.47.3