From: Bastian Dehn Date: Thu, 16 Jul 2026 17:56:09 +0000 (+0200) Subject: change post inst warning X-Git-Tag: v1.1.35^2~3^2~3 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=9206fdb1330a529b95d9d4dfca176e79cfb3f157;p=sane-kds-s2000w-net.git change post inst warning --- diff --git a/src/debian/postinst b/src/debian/postinst index 48ab3b4..d16fa16 100755 --- a/src/debian/postinst +++ b/src/debian/postinst @@ -4,7 +4,7 @@ set -e find_config() { [ ! -f "$DLLCONFIG" ] \ - && echo "ERROR: $DLLCONFIG does not exist" \ + && echo "WARNING: $DLLCONFIG does not exist" \ && return 1 echo "found $DLLCONFIG" } diff --git a/tests/postinst.bats b/tests/postinst.bats index 1af18c9..e2e032d 100755 --- a/tests/postinst.bats +++ b/tests/postinst.bats @@ -18,7 +18,7 @@ teardown() { run ../src/debian/postinst assert_success - assert_output "ERROR: ../build/dll-not-exists.conf does not exist" + assert_output "WARNING: ../build/dll-not-exists.conf does not exist" } @test "add entry kds_s2000w_net dll.conf" {