From 51876f16a2ecff504993b830fe1b00377fc5e308 Mon Sep 17 00:00:00 2001 From: Tom Dewey Date: Wed, 2 Oct 2024 15:41:35 +0100 Subject: [PATCH] debian/postinst: Set -e, add DEBHELPER hook --- debian/postinst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index 0063a9b..7a2f1e5 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,5 +1,9 @@ #!/bin/sh +set -e + if [ ! -x /usr/bin/rpi-imager ]; then chmod +x /usr/bin/rpi-imager -fi \ No newline at end of file +fi + +#DEBHELPER# \ No newline at end of file