Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/libmakepkg/integrity/generate_signature.sh.in
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2017-11-12 12:26:56 -0500
committerAllan McRae <allan@archlinux.org>2018-03-15 11:16:00 +1000
commitc54621d81986e14c7d112350fdf288e74df7a8a8 (patch)
tree62a30cc3f6535ce3506e485e476845a654acb8a1 /scripts/libmakepkg/integrity/generate_signature.sh.in
parentd8717a6a9666ec80c8645d190d6f9c7ab73084ac (diff)
makepkg: avoid false "Signing package(s)" msg when signing is disabled
Followup on c6b04c04653ba9933fe978829148312e412a9ea7 which refactored the signing function to run outside of fakeroot, and in the process moved the status message to outside the $SIGNPKG check. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/integrity/generate_signature.sh.in')
-rw-r--r--scripts/libmakepkg/integrity/generate_signature.sh.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/libmakepkg/integrity/generate_signature.sh.in b/scripts/libmakepkg/integrity/generate_signature.sh.in
index be956797..df76fbbd 100644
--- a/scripts/libmakepkg/integrity/generate_signature.sh.in
+++ b/scripts/libmakepkg/integrity/generate_signature.sh.in
@@ -26,9 +26,6 @@ LIBRARY=${LIBRARY:-'@libmakepkgdir@'}
source "$LIBRARY/util/message.sh"
create_signature() {
- if [[ $SIGNPKG != 'y' ]]; then
- return 0
- fi
local ret=0
local filename="$1"
@@ -50,6 +47,9 @@ create_signature() {
}
create_package_signatures() {
+ if [[ $SIGNPKG != 'y' ]]; then
+ return 0
+ fi
local pkgarch pkg_file
local pkgname_backup=("${pkgname[@]}")
local fullver=$(get_full_version)