From: Bastian Dehn Date: Fri, 12 Dec 2025 15:02:56 +0000 (+0100) Subject: change postinst wihtout error X-Git-Tag: v1.1.23^2~11 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=3a536192124fa53776a3380e43475a7fa67fb410;p=sane-kds-s2000w-net.git change postinst wihtout error --- diff --git a/src/debian/postinst b/src/debian/postinst index 94f8a4b..93240aa 100644 --- a/src/debian/postinst +++ b/src/debian/postinst @@ -17,7 +17,7 @@ main() [ -f "$DLLCONFIG" ] \ || errlog "ERROR: $DLLCONFIG does not exist" \ - || return $? + || return 0 echo "found $DLLCONFIG" local entrycheck=$(cat $DLLCONFIG | grep $ENTRY) @@ -28,7 +28,7 @@ main() sed -i "\$a$ENTRY" $DLLCONFIG \ || errlog "could not add entry $ENTRY to $DLLCONFIG" \ - || return $? + || return 0 echo "add $ENTRY to $DLLCONFIG" }