summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-08 15:11:22 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-08 15:11:22 -0600
commit713b3d2ccafffb3b98fc85914f0ba15bf05f5f7c (patch)
tree04be04dfa1be9a9976458ab2c89e232fb8662610 /src
parent7df049453cb8ab9ca5f3ee7b29c1d888a7f4003f (diff)
parent8fb79bc289bac155cfb6bf9492210af3c717753c (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/packages/libretools
Diffstat (limited to 'src')
-rwxr-xr-xsrc/abslibre-tools/librerelease5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease
index fab7c52..ed7f70c 100755
--- a/src/abslibre-tools/librerelease
+++ b/src/abslibre-tools/librerelease
@@ -76,7 +76,8 @@ create_signature() {
if (( ! ret )); then
msg2 "$(gettext "Created signature file %s.")" "$filename.sig"
else
- warning "$(gettext "Failed to sign package file.")"
+ error "$(gettext "Failed to sign package file.")"
+ return $ret
fi
}
@@ -167,7 +168,7 @@ function release_packages {
fi
clean_non_packages
- sign_packages
+ 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