commitpkg: Force unarmored signatures
Pacman cannot handle armored signatures, so force a generation of a binary one using the --no-armor flag.
This commit is contained in:
parent
a1594ae1f6
commit
763d8ffb53
|
@ -147,7 +147,7 @@ for _arch in ${arch[@]}; do
|
||||||
if [[ -n $GPGKEY ]]; then
|
if [[ -n $GPGKEY ]]; then
|
||||||
SIGNWITHKEY="-u ${GPGKEY}"
|
SIGNWITHKEY="-u ${GPGKEY}"
|
||||||
fi
|
fi
|
||||||
gpg --detach-sign --use-agent ${SIGNWITHKEY} "${pkgfile}" || die
|
gpg --detach-sign --use-agent --no-armor ${SIGNWITHKEY} "${pkgfile}" || die
|
||||||
fi
|
fi
|
||||||
if ! gpg --verify "$sigfile" >/dev/null 2>&1; then
|
if ! gpg --verify "$sigfile" >/dev/null 2>&1; then
|
||||||
die "Signature %s.sig is incorrect!" "$pkgfile"
|
die "Signature %s.sig is incorrect!" "$pkgfile"
|
||||||
|
|
Loading…
Reference in New Issue