From: Bastian Dehn Date: Thu, 3 Apr 2025 18:11:52 +0000 (+0200) Subject: change start and success into main X-Git-Tag: v1.0.6^2~2 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=edb6cc405bba59d489c0fe211a710b6e0b5cacf6;p=scantopdf.git change start and success into main --- diff --git a/build-package b/build-package index 0c2ed51..a6fe80e 100755 --- a/build-package +++ b/build-package @@ -7,6 +7,7 @@ main() local ARCHITECTURE="amd64" local PACKAGENAME="scantopdf-$VERSION-$BUILDVERSION-$ARCHITECTURE" + echo "⭐ START: build package" mkdir -p build mkdir -p build/$PACKAGENAME/usr/local/bin @@ -35,8 +36,7 @@ main() cd build dpkg --build $PACKAGENAME + echo "✅ SUCCESS: build package" } -echo "⭐ START: build package" main -echo "✅ SUCCESS: build package" diff --git a/scantopdf b/scantopdf index 3fefa06..b781fec 100755 --- a/scantopdf +++ b/scantopdf @@ -8,6 +8,7 @@ main() local output=$2 local basename=$3 + echo "⭐ START: scantopdf" command -v scanimage > /dev/null \ || errlog "command scanimage not found" \ || return $? @@ -32,8 +33,7 @@ main() fi createonepdf $output || return $? + echo "✅ SUCCESS: scantopdf" } -echo "⭐ START: scantopdf" main $* -echo "✅ SUCCESS: scantopdf diff --git a/scantopdfbw b/scantopdfbw index d682ece..d60720d 100755 --- a/scantopdfbw +++ b/scantopdfbw @@ -8,6 +8,7 @@ main() local output=$2 local basename=$3 + echo "⭐ START: scantopdfbw" command -v scanimage > /dev/null \ || errlog "command scanimage not found" \ || return $? @@ -32,8 +33,7 @@ main() fi createonepdf $output || return $? + echo "✅ SUCCESS: scantopdfbw" } -echo "⭐ START: scantopdfbw" main $* -echo "✅ SUCCESS: scantopdfbw diff --git a/scantopdfgray b/scantopdfgray index da7749a..8ed6bc4 100755 --- a/scantopdfgray +++ b/scantopdfgray @@ -8,6 +8,7 @@ main() local output=$2 local basename=$3 + echo "⭐ START: scantopdfgray" command -v scanimage > /dev/null \ || errlog "command scanimage not found" \ || return $? @@ -32,8 +33,7 @@ main() fi createonepdf $output || return $? + echo "✅ SUCCESS: scantopdfgray" } -echo "⭐ START: scantopdfgray" main $* -echo "✅ SUCCESS: scantopdfgray