From 0f8a5667a343289f74ff7a839ce8ba2e06ab5a74 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Fri, 12 Dec 2025 18:46:00 +0100 Subject: [PATCH] post scripts handle errors --- src/debian/postinst | 2 ++ src/debian/postrm | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/debian/postinst b/src/debian/postinst index 93240aa..37c842b 100755 --- a/src/debian/postinst +++ b/src/debian/postinst @@ -1,5 +1,7 @@ #!/bin/bash +set -e + errlog() { local lastexit=$? diff --git a/src/debian/postrm b/src/debian/postrm index 482b813..c51bf14 100755 --- a/src/debian/postrm +++ b/src/debian/postrm @@ -1,5 +1,7 @@ #!/bin/bash +set -e + errlog() { local lastexit=$? -- 2.47.3