From: Bastian Dehn Date: Mon, 8 Dec 2025 19:18:05 +0000 (+0100) Subject: change ignore errors uninstall X-Git-Tag: v1.1.23^2~14 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=8ad390bba34e2afacca34a8f63e9d18de7d7afb8;p=sane-kds-s2000w-net.git change ignore errors uninstall --- diff --git a/src/debian/postrm b/src/debian/postrm index ae14384..482b813 100644 --- a/src/debian/postrm +++ b/src/debian/postrm @@ -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 "/$ENTRY/d" $DLLCONFIG \ || errlog "could not remove $ENTRY from $DLLCONFIG" \ - || return $? + || return 0 echo "remove $ENTRY from $DLLCONFIG" }