summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg/integrity
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2018-06-18 08:50:58 +0200
committerAllan McRae <allan@archlinux.org>2018-06-18 08:50:58 +0200
commitd750c854bcfa2461742a4d5dff7b4747db5c1f53 (patch)
treec5ca952a872d8a77b51a112529d54e0e2dff7ee0 /scripts/libmakepkg/integrity
parent72263e22bdf2f33b2038f902612ac6a98954d254 (diff)
downloadpacman-d750c854bcfa2461742a4d5dff7b4747db5c1f53.tar.gz
pacman-d750c854bcfa2461742a4d5dff7b4747db5c1f53.tar.xz
Fix signing of debug packages
Commit 9c8d7a80 broke the signing of debug packages by merging code up but not changing the test condition. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/integrity')
-rw-r--r--scripts/libmakepkg/integrity/generate_signature.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/libmakepkg/integrity/generate_signature.sh.in b/scripts/libmakepkg/integrity/generate_signature.sh.in
index 442fe031..b53a90d0 100644
--- a/scripts/libmakepkg/integrity/generate_signature.sh.in
+++ b/scripts/libmakepkg/integrity/generate_signature.sh.in
@@ -63,7 +63,7 @@ create_package_signatures() {
done
# check if debug package needs a signature
- if ! check_option "debug" "y" || ! check_option "strip" "y"; then
+ if check_option "debug" "y" && check_option "strip" "y"; then
pkg=$pkgbase-@DEBUGSUFFIX@
pkgarch=$(get_pkg_arch)
pkg_file="$PKGDEST/${pkg}-${fullver}-${pkgarch}${PKGEXT}"