mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
makepkg: fix signing built package
Fixes issue introduced in 9dd42dc0
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
3232c975c6
commit
0285c678ab
@ -2646,6 +2646,7 @@ fi
|
|||||||
|
|
||||||
# check if gpg signature is to be created and if signing key is valid
|
# check if gpg signature is to be created and if signing key is valid
|
||||||
if { [[ -z $SIGNPKG ]] && check_buildenv "sign" "y"; } || [[ $SIGNPKG == 'y' ]]; then
|
if { [[ -z $SIGNPKG ]] && check_buildenv "sign" "y"; } || [[ $SIGNPKG == 'y' ]]; then
|
||||||
|
SIGNPKG='y'
|
||||||
if ! gpg --list-key ${GPGKEY} &>/dev/null; then
|
if ! gpg --list-key ${GPGKEY} &>/dev/null; then
|
||||||
if [[ ! -z $GPGKEY ]]; then
|
if [[ ! -z $GPGKEY ]]; then
|
||||||
error "$(gettext "The key %s does not exist in your keyring.")" "${GPGKEY}"
|
error "$(gettext "The key %s does not exist in your keyring.")" "${GPGKEY}"
|
||||||
|
Loading…
Reference in New Issue
Block a user