From ae544b741d6ee8b3e5b26eb959b38655e20b764a Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Sat, 5 Jun 2021 08:59:47 +0200 Subject: [PATCH] [fix] Debian package: ensure failure is caught (#7804) fakeroot was missing from the Docker image. --- platform/debian/do_debian_package.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/platform/debian/do_debian_package.sh b/platform/debian/do_debian_package.sh index 0d74b6e02..975f1243c 100755 --- a/platform/debian/do_debian_package.sh +++ b/platform/debian/do_debian_package.sh @@ -1,6 +1,6 @@ #!/bin/bash # Script to generate debian packages for KOReader -# shellcheck disable=SC2164 +set -e if [ -z "${1}" ]; then echo "${0}: can't find KOReader build, please specify a path" @@ -120,5 +120,3 @@ else echo "${COMMAND} not found, unable to build Debian package" exit 1 fi - -exit 0