]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
change postinst wihtout error
authorBastian Dehn <hhaalo@arcor.de>
Fri, 12 Dec 2025 15:02:56 +0000 (16:02 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Fri, 12 Dec 2025 15:02:56 +0000 (16:02 +0100)
src/debian/postinst

index 94f8a4b716601f63f2d795e64a0ac645dc8db861..93240aaa718e57277890240a30caa435e5b13847 100644 (file)
@@ -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"
 }