]> gitweb.hhaalo.de Git - scantopdf.git/commitdiff
change start and success into main
authorBastian Dehn <hhaalo@arcor.de>
Thu, 3 Apr 2025 18:11:52 +0000 (20:11 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Thu, 3 Apr 2025 18:11:52 +0000 (20:11 +0200)
build-package
scantopdf
scantopdfbw
scantopdfgray

index 0c2ed517fe95cfdfe00a58ac49ed118a367eb282..a6fe80ee128f27ec9651153b79d66248674c96b2 100755 (executable)
@@ -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"
index 3fefa0684b104675ecfad32735e71f96713a5ab8..b781fec8202475cf3027f0077bbac5e0adeb4308 100755 (executable)
--- 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
index d682ecec400e3abd7f564074b7498cbfaf52e69e..d60720d1426f214bc38f63187c3ca943f7895eec 100755 (executable)
@@ -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
index da7749afe88d4a0b4b72f2597340d331a5c611e1..8ed6bc4a5350b992950c4232a91f0396f3d3c97d 100755 (executable)
@@ -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