summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/abslibre-tools/librerelease5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease
index 59983d2..5adb013 100755
--- a/src/abslibre-tools/librerelease
+++ b/src/abslibre-tools/librerelease
@@ -78,6 +78,8 @@ create_signature() {
else
warning "$(gettext "Failed to sign package file.")"
fi
+
+ return $ret
}
function sign_packages {
@@ -164,7 +166,8 @@ function release_packages {
[[ ! -z ${HOOKPRERELEASE} ]] && bash -c "${HOOKPRERELEASE}"
clean_non_packages
- sign_packages
+ # Sign packages or fail
+ sign_packages || return 1
# Make the permissions of the packages 644 otherwise the user will get access
# denied error when they try to download (rsync --no-perms doesn't seem to